Created
January 5, 2018 17:50
-
-
Save abhi1381/fa234c42b32396c275024a77e2141cb8 to your computer and use it in GitHub Desktop.
age calculator
This file contains hidden or 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 = input("what is your name: ") | |
| print("Your name is:",name) | |
| print("\n") | |
| age = int(input("what is your age: ")) | |
| print("your age is:",age) | |
| print() | |
| total = 100 - age | |
| print("you will be 100 yrs old after {} years.".format(total)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment