how to do input in python code example
Example 1: python input
name = input('Please enter your name: ')
print(name)
if name == 'Joe':
print('Joe Mama')
Example 2: how to get user inout in python
test = input()
test = input("Please enter your information: ")
test = int(input("Please enter your information: "))
Example 3: python how to use input
x = input("your question here")
print(x)
Example 4: input in python
name = input('What is your name')
print('Hello'+ name + ' !')
Example 5: input python
text = input("Enter your name: ")
print(text)
Example 6: python user input
user = input("yes, no\n")