Skip to content

Instantly share code, notes, and snippets.

@nemani
Created November 8, 2015 14:23
Show Gist options
  • Save nemani/8aabb80a8e373a7c9fde to your computer and use it in GitHub Desktop.
Save nemani/8aabb80a8e373a7c9fde to your computer and use it in GitHub Desktop.
name = str(raw_input())
age = int(raw_input())
print name + " will turn 100 in year " + str(2115-age)
@mprat
Copy link

mprat commented Nov 11, 2015

I think you mean 2015 instead of 2115, but otherwise, looks good! It's written in Python 2 - not a problem, just note that the syntax on the blog is in Python 3 so the print statements look different.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment