input value python code example
Example 1: python input
# The function 'input()' asks the user for input
myName = input()
Example 2: python input function
answer = input('What is your name?')
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