+ 11

Interval symbols

How get interval from 'A' to 'Z'?

16th Jan 2017, 4:43 PM
Sergey
3 ответов
+ 10
Thank you very much! We can like our question and answers:)
16th Jan 2017, 6:13 PM
Sergey
+ 4
without importing module: A = ord('A') print( [ chr(A+i) for i in range(26) ] )
16th Jan 2017, 6:05 PM
visph
visph - avatar
+ 1
from string import ascii_letters letters = ascii_letters.upper() print(letters)
16th Jan 2017, 5:59 PM
guest013
guest013 - avatar