Loading, please wait...

ASCII Value

Program to Find ASCII Value of Character

 

Code:

k2 = 'S'
print("The ASCII value of '" + k2 + "' is",ord(k2))

 

Then, Click on the run button.