Step 1 · Read and run
Letters are numbers
Inside the computer every character is stored as a number, its character code. ord() gives a character's code, and chr() turns a code back into a character.
The capital letters A to Z have the codes 65 to 90, in order. (You may have met these as ASCII codes.)
Run the program to carry on.