Last active
June 22, 2021 18:09
-
-
Save Just-Simple-59/dd1e1f82ee8d76cdfb4b046d62231c97 to your computer and use it in GitHub Desktop.
Create a program that asks the user to enter their name and their age. Print out a message addressed to them that tells them the year that they will turn 100 years old.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name = input ("What's your name ?\n") | |
age = input ("What's your age?\n") | |
age = int(age) | |
x=100 - age | |
year=2021+x | |
print ("If you survive from the apolocalypse, and make it to 100th year of your age | |
" it will be in the year"+' '+str(year)+' '+"that you're gonna make your " | |
" CENTURY.") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment