Skip to content

Instantly share code, notes, and snippets.

@Raj39120
Created April 30, 2020 13:38
Show Gist options
  • Save Raj39120/782b52d6db3c36a294cba4514f37c740 to your computer and use it in GitHub Desktop.
Save Raj39120/782b52d6db3c36a294cba4514f37c740 to your computer and use it in GitHub Desktop.
name = str(input("Please enter your name over here (in the format of your name surrounded by quotation marks): "))
age = int(input("Please enter the age that you will turn on your birthday this year if it has not passed already: "))
date_of_birth = 2020-age
print("The year that you will turn 100 years old in is " + str(date_of_birth+100) + ".")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment