Python Programming - Console Input/Output - Discussion
Discussion Forum : Console Input/Output - General Questions (Q.No. 65)
65.
How can you print the ASCII value of a character entered by the user?
Answer: Option
Explanation:
To print the ASCII value of a character entered by the user, use
ascii_value = ord(input("Enter a character: ")); print(ascii_value)
.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers