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?
input_char()
char(input())
input()[0]
read_character()
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:

Your comments will be displayed after verification.