Answers for "how to take user input in a function in python"

17

python input

# The function 'input()' asks the user for input
myName = input()
Posted by: Guest on February-21-2020
10

python how to use input

#basic user handling for begginers

x = input("your question here") # when someone types something here that answer will be saved and be used for later

# for example 
print(x)
Posted by: Guest on March-25-2020

Code answers related to "how to take user input in a function in python"

Python Answers by Framework

Browse Popular Code Answers by Language