Memorandum. I admit that it can be used for competition programming.
alphabet_list.py
print([chr(ord('a') + i) for i in range(26)])
#=> ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z']
Recommended Posts