python as for user input code example
Example 1: python user input
var = raw_input()
# OR
var = input()
""" raw_input can only be a string, but input can be a string,
integer, or variable. """
Example 2: python user input
user = input("yes, no\n")