learning-to-code/python/birthday2.py

6 lines
149 B
Python
Raw Permalink Normal View History

2019-07-02 04:03:07 +00:00
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))