Write a method that you can use when you want to turn the alphabet into letters when writing a program.
use ord
>>> ord('a')
97
The number corresponding to the alphabet is output by ord ('alphabet').
use chr
>>> chr(97)
'a'
The alphabet corresponding to the number is output by chr (number).
Recommended Posts