Question: # input (informations from the user) first = input('What is your first name?') last = input('What is your last name?') age = input('What is your
# input (informations from the user)
first = input('What is your first name?') last = input('What is your last name?') age = input('What is your age?')
# output (informotions to the user)
print('It\'s nice to meet you,', first, last ,'.') print('This year, you\'re ', age ,' years old.') print('Next year, you\'ll be ', str(age) + str(1) ,' .')
i'm having trouble adding 1 to the age it comes out as a larger number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
