Answers for "python input is definf function ?"

17

python input

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

python input

# use the function input()

# the parameter is something that would
# output on the screen before the input

name = input('What is your name?')
print('Hello ' + name)
Posted by: Guest on May-29-2020

Python Answers by Framework

Browse Popular Code Answers by Language