Vidyalelo
Python · Q92

MCQs for Python Strings: Exam

Programming · Python · question 92

Q92

What function do you use to read a string?

A.
input("Enter a string")
Answer
B.
eval(input("Enter a string"))
C.
enter("Enter a string")
D.
eval(enter("Enter a string"))

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board