+ 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 Answers
+ 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