learning-to-code/python/birthday2.py

6 lines
149 B
Python

value = input('How old are you?:')
year = input('How many years until your next birthday?')
print("Next year you will be", int(value) + int(year))