Jan
0
Q:

how to get the entire alphabet in code

#Python: premade alphabet string 

import string
string.ascii_lowercase
	#output: 'abcdefghijklmnopqrstuvwxyz'
string.ascii_uppercase
	#output: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6
abcdefghijklmnopqrstuvwxyz
2
C#

//Works with 'A' to 'Z' and '!' to '*'
for (char c = 'a'; c <= 'z'; c++) 
{
    print(c);
}
1

New to Communities?

Join the community