<AptiCode/>

Question 482: How can you prompt the user with a message while taking input?

tcs
wipro
infosys
general
aptitude
console-inputoutput
python-programming

You can use theinput()function with the optional parameterpromptto display a message to the user before taking input.