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