1. Engineering
  2. Computer Science
  3. input informations from the user first inputwhat is...

Question: input informations from the user first inputwhat is...

Question details

# 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

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution