apython accept usr input code example
Example 1: how to get user inout in python
#just get input
test = input()
#add a custom message
test = input("Please enter your information: ")
#turning what is inputed into a differnt type of data
test = int(input("Please enter your information: "))
Example 2: python input
# The function 'input()' asks the user for input
myName = input()
Example 3: 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