Question 477: How can you take user input from the console?
tcs
wipro
infosys
general
aptitude
console-inputoutput
python-programming
Theinput()function is used to take user input from the console in Python. It reads a line from the console and returns it as a string.