input name python code code example
Example 1: python input function
answer = input('What is your name?')
Example 2: input python
name = input("Enter your name: ")
#Printing the variable (name)
print("hello",name)
answer = input('What is your name?')
name = input("Enter your name: ")
#Printing the variable (name)
print("hello",name)