Header Ads

Responsive Ads Here

Taking Input from User

 
Taking Input from User

user_name = input("Enter your name: ")
print("Your name is " + user_name)

age = input("Enter your age: ")
print("Your age is " + age)
print(type(age))

print("User's name is "+ user_name + " and age is "+ age + ".")
Powered by Blogger.