How to get alphabets in order through loop in Python? Is it possible of getting alphabets through looping condition. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to get alphabets in order through loop in Python? Is it possible of getting alphabets through looping condition.

28th Aug 2019, 5:07 PM
kiruthigakrishnamoorthi
5 Answers
+ 1
alpha = ['a','b',c','d','e','f' etc..] for i in range(len(alpha)): print(alpha[i])
28th Aug 2019, 5:34 PM
Cat Sauce
Cat Sauce - avatar
+ 1
https://code.sololearn.com/cY4Te9n3XFOd/?ref=app https://code.sololearn.com/ccCSrpsh8YYx/?ref=app take a look at these and they should have you printing the alphabet in python
28th Aug 2019, 5:34 PM
Brave Tea
Brave Tea - avatar
+ 1
for i in range(97, 123): print(chr(i))
28th Aug 2019, 5:56 PM
HonFu
HonFu - avatar
0
you want to print the alphabet?
28th Aug 2019, 5:32 PM
Cat Sauce
Cat Sauce - avatar
- 2
For i in range(97, 123): Print(chr(i))
29th Aug 2019, 9:43 AM
Naufal Juli Saputra