asmita jhow to get asccii number of a character in python code example Example: ascii values in python of c = 'p' print("The ASCII value of '" + c + "' is", ord(c))