Answers for "get the ascii of a char ython"

2

write a program to find ascii value of a character in python

# Program to find the ASCII value of the given character

c = 'p'
print("The ASCII value of '" + c + "' is", ord(c))
Posted by: Guest on April-06-2021

Code answers related to "get the ascii of a char ython"

Python Answers by Framework

Browse Popular Code Answers by Language