which function statement in Python is used to take keyboard input
Answers
Answered by
1
Answer:For this purpose, Python provides the function input(). input has an optional parameter, which is the prompt string.
If the input function is called, the program flow will be stopped until the user has given an input and has ended the input with the return key. The text of the optional parameter, i.e. the prompt, will be printed on the screen.
The input of the user will be interpreted. If the user e.g. puts in an integer value, the input function returns this integer value. If the user on the other hand inputs a list, the function will return a list.
Explanation:
Answered by
0
Answer:
HI GUYS ANSWER IS INPUT()
Explanation:
ALL THE BEST FOR EXAM
Similar questions