Articles → Python → Keyboard Input From The User In Python
Keyboard Input From The User In Python
Example
name = input("Please enter your name:")
print("Welcome ", name, "!!!")
Getting The Integer Value From The Input Element
age = input("Please enter your age:")
print(type(age))
age = input("Please enter your age:")
print(type(eval(age)))