python3 get input from user code example
Example 1: 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
Example 2: getting player input python
print("Say: 'Hi!'")
answer = input()
print(answer)
##Output##
#Say: 'Hi!'
#Hi!