python input statement code example
Example 1: python input
name = input('Please enter your name: ')
print(name)
if name == 'Joe':
print('Joe Mama')
Example 2: input in python
name = input("What is your name?\n")
print("You said your name was " + name)
number = int(input("Please select a random number:\n"))
Example 3: python how to use input
x = input("your question here")
print(x)
Example 4: python input
myName = input()
Example 5: python input function
answer = input('What is your name?')
Example 6: input in python
name = input('What is your name')
print('Hello'+ name + ' !')