s = "a" # a string with one character, i.e. length = 1 print(s, ord(s)) # print the character and its ASCII code i = 97 print(i, chr(i)) # print the ASCII code and the represented character print(chr(i+1))