python 3 input from user code example
Example 1: input python 3
answer = input("What is your name? ")
print(f"Your name is {answer}")
Example 2: user input python
input = input("Enter your value: ")
print(input) # prints the input
answer = input("What is your name? ")
print(f"Your name is {answer}")
input = input("Enter your value: ")
print(input) # prints the input