Python Programming - Console Input/Output - Discussion
Discussion Forum : Console Input/Output - General Questions (Q.No. 18)
18.
How can you read a character from the console?
Answer: Option
Explanation:
To read a character from the console in Python, you can use
input()[0]
to get the first character of the input string.
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