how t otake input in pythan code example
Example 1: how to get user input python
x = input("enter prompt here: ")
Example 2: input in python
age = input("Your age: ")
print("Your age is: " + age)
# defines input as a string and prints it out
x = input("enter prompt here: ")
age = input("Your age: ")
print("Your age is: " + age)
# defines input as a string and prints it out