python print user input code example
Example 1: how to receive user input in python
var = input("Text: ")
Example 2: python print user input
name = input("Hi! What’s your name ? ")
print("Nice to meet you " + name + "!")
age = input("How old are you ? ")
print("So, you are already " + str(age) + " years old, " + name + " !")
Example 3: how to get a user input in python
a = input("what is your input")
Example 4: how to get user input python
x = input("enter prompt here: ")