+ 2
Alphabet List
Is there any way I can make a list of alphabet characters without having to type them one by one? there is no problem doing it with numbers using range()
4 ответов
+ 3
All characters holds an ASCII value rather than character itself which is continuous in nature so all you need is the value of 'a' and start incrementing it one by one till it reaches 'z'.
like this👇
https://code.sololearn.com/cIkm6kVD7tab/?ref=app
https://code.sololearn.com/cD9cJiy4qTSs/?ref=app
+ 2
It works fine thank you, just forgot to specify that I wanted to try it in python 3.
+ 2
I used C++ because you mentioned it on the top in your relevant tags.
now, have a look at edited answer, I have included python version of the same also.👍
+ 2
yeah that’s right, I should have not then