take input fro user in python code example
Example 1: input python
name = input("Enter your name: ")
#Printing the variable (name)
print("hello",name)
Example 2: python user input
user = input("yes, no\n")
name = input("Enter your name: ")
#Printing the variable (name)
print("hello",name)
user = input("yes, no\n")