To see a quick preview of what is to come, you can step through a simple program illustrating the ord and chr functions, which reveal the numbering system ASCII that is underneath the machinery of characters and strings. When you click on Forward and Backward, a box showing results will change.


Ord and Chr Functions

a = ord('T')
b = a + 1
c = chr(b)
d = ord('a')
e = d + 25
f = chr(e)


By running this example, you observe that the number representing the letter "T" is just one less than the number for "U".