Python Programming
Friday, May 10, 2019
WAP to input a character and print its ASCII value
c = input("Enter a character = ")
print('-'*10)
print("The ASCII value of '" + c + "' is",ord(c))
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment