Answers for "python function return ascii value of character"

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 "python function return ascii value of character"

Python Answers by Framework

Browse Popular Code Answers by Language