Welcome to the World of Online Learning:
Hello Friends “This blog helps you to learn Python programming concepts. You can learn Python language at your own speed and time. One can learn concepts of Python language by practicing various programs given on various pages of this blog. Enjoy the power of Self-learning using the Internet.”
Write a Python Program to Find ASCII Value of Character
PROGRAM: Python Program to Find ASCII Value of Character
/* Python Program to Find ASCII Value of Character */
# Program to find the ASCII value of the given character
c = ‘p’
print(“The ASCII value of ‘” + c + “‘ is”, ord(c))
OUTPUT :-
The ASCII value of 'p' is 112