Created
May 7, 2020 02:21
-
-
Save jmangrad/4a6ba352137fd0043ee12b9d07ae83dc 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
Create a program that asks the user to enter their name and their age. Print out a message addressed to them that tells them the year that they will turn 100 years old. | |
#My Answer | |
name = input("Enter your name: ") | |
age = int(input("How old are you? ")) | |
print("{0}, you will turn 100 in {1}".format(name, 100-age)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment