python ord table code example Example: ascii values in python of c = 'p' print("The ASCII value of '" + c + "' is", ord(c))