Created
November 8, 2015 14:23
-
-
Save nemani/8aabb80a8e373a7c9fde to your computer and use it in GitHub Desktop.
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 = str(raw_input()) | |
age = int(raw_input()) | |
print name + " will turn 100 in year " + str(2115-age) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.