Created
February 2, 2020 08:56
-
-
Save santosadrian/979d028aaa413cfb1fa655bf8eaf69d9 to your computer and use it in GitHub Desktop.
Example 5
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
my_name = "John Doe" | |
my_age = 37 # not a lie | |
my_height = 180 # centimeters | |
my_weight = 80 # kilos | |
my_eyes = 'brown' | |
my_teeth = 'White' | |
my_hair = 'Brown' | |
print(f"Let's talk about {my_name}.") | |
print(f"He's {my_height} centimeters tall.") | |
print(f"He's {my_weight} kilos heavy.") | |
print(f"Actually that's not too heavy.") | |
print(f"He's got {my_eyes} eyes and {my_hair} hair.") | |
print(f"His teeth are usually {my_teeth}.") | |
# this line is tricky, try to get it exactly right | |
total = my_age + my_height + my_weight | |
print(f"If I add {my_age}, {my_height}, and {my_weight} I get...") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment