Skip to content

Instantly share code, notes, and snippets.

@naotasati
Last active October 19, 2017 18:34
Show Gist options
  • Select an option

  • Save naotasati/fd2f39acd4acde06fbc11efce5dd44e6 to your computer and use it in GitHub Desktop.

Select an option

Save naotasati/fd2f39acd4acde06fbc11efce5dd44e6 to your computer and use it in GitHub Desktop.
Python Sample codes
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