Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Pushpinder2751/62f719769a4cfb5a8c1e7015a557d4c2 to your computer and use it in GitHub Desktop.
Save Pushpinder2751/62f719769a4cfb5a8c1e7015a557d4c2 to your computer and use it in GitHub Desktop.
name = input("What is your name: ")
age = int(input("How old are you: "))
year = str((2014 - age)+100)
print(name + " will be 100 years old in the year " + year)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment