0

im brand new to programming and after a couple of youtube videos i decided id try to do a new program, after all the only real way of learning something is by practicing it

n = input ("Name :")
i = input ("Age :")
aa = input ("How many years do you wish ( 0 to 99) :")

print("Mr." + n + " in the year 20" + aa + "will have" + i + aa)

Heres my code, i wanted to add i+aa so it would tell me the final age, but instead it just adds them like 2 strings, thanks!

Martim
  • 15
  • 3

0 Answers0