Print Alphabets in Python using loops and functions | #shorts #python

preview_player
Показать описание
#shorts #coding #pythonprogramming
#alphabet #python

Print Alphabets in Python using loops and functions

THANKS FOR WATCHING ❤️
Рекомендации по теме
Комментарии
Автор

Code:
N = 26
print("Number of elements required: "+str(N))

result = ""

for index in range(97, 97+N):
result = result + chr(index)

print("Alphabets till N are: "+str(result))
(oh and also going above 26 just prints random stuff)
Edit: might be the symbols after the character's value?

turkey_sandwhich