prompt() python code example
Example 1: python input
name = input('Please enter your name: ')
print(name)
if name == 'Joe':
print('Joe Mama')
Example 2: python input
myName = input()
Example 3: input in python
name = input('What is your name')
print('Hello'+ name + ' !')
Example 4: how to have player input in python
variable_name = input("please add your input: ")
print(variable_name)
Example 5: python 2.7 get user input
txt = raw_input("Type something to test this out: ")
print "Is this what you just said?", txt