Skip to content

Instantly share code, notes, and snippets.

@Just-Simple-59
Last active June 22, 2021 18:09
Show Gist options
  • Save Just-Simple-59/dd1e1f82ee8d76cdfb4b046d62231c97 to your computer and use it in GitHub Desktop.
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.
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