Answers for "apython accept usr input"

17

python input

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

python 2.7 get user input

# Python 2

txt = raw_input("Type something to test this out: ")
print "Is this what you just said?", txt
Posted by: Guest on December-18-2019

Python Answers by Framework

Browse Popular Code Answers by Language