Python Programming - Console Input/Output - Discussion

Discussion Forum : Console Input/Output - General Questions (Q.No. 5)
5.
How can you prompt the user with a message while taking input?
prompt(input_msg)
input_msg(prompt)
input(prompt=input_msg)
console.prompt(input_msg)
Answer: Option
Explanation:
You can use the input() function with the optional parameter prompt to display a message to the user before taking input.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.