Last active
December 17, 2017 23:40
-
-
Save GreggX/e7d72d1b3c7ca5cff930e90733b2f1a1 to your computer and use it in GitHub Desktop.
Exercises of http://www.practicepython.org
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 = input("Give me your name: ") | |
print ("Hi " + name + "!") | |
age = int(input("Give me your age: ")) | |
res = 100 - age | |
year = 2017 + res | |
print("You will turn 100 years in the year " + str(year)) | |
number = int(input("Enter a number: ")) | |
print("Your number is: ") | |
print(10 * str(number)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment