adplus-dvertising
frame-decoration

Question

What function do you use to read a string?

a.

input(“Enter a string”)

b.

eval(input(“Enter a string”))

c.

enter(“Enter a string”)

d.

eval(enter(“Enter a string”))

Posted under Python

Answer: (a).input(“Enter a string”)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What function do you use to read a string?