Skip to content
← Back to Community
Variables and User Input
Profile icon
DrillingSphere

#Eli Beutler
#December 10th 2020
#Variables and User Input
name = input("please enter your name: ")
print ("Welcome " + name + ".")
#made sure to add space after the Welcome
age = int(input("How old are you?"))
age = age + 10
print(name + ", you will be " + str(age) + " years old in 10 years.")
#tried to add a tab to the beginning of the last print statement. Would not allow a \t in front of the name varible.

Voters
Profile icon
kastorkukkis
Profile icon
DrillingSphere