inputs python code example
Example 1: python input
name = input('Please enter your name: ')
print(name)
if name == 'Joe':
print('Joe Mama')
Example 2: python get input
txt = input("Type something to test this out: ")
print("Is this what you just said? ", txt)
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 + ' !')