24 lines
680 B
Python
24 lines
680 B
Python
name = 'Zed A. Shaw'
|
|
age = 35 # not a lie
|
|
height = 74 # inches
|
|
weight = 180 # lbs
|
|
eyes = 'Blue'
|
|
teeth = 'White'
|
|
hair = 'Brown'
|
|
|
|
inch_to_cm = 2.54
|
|
lbs_to_kg = 0.45359237
|
|
|
|
cm_height = height * inch_to_cm
|
|
kg_weight = weight * lbs_to_kg
|
|
|
|
print(f"Let's talk about {name}.")
|
|
print(f"He's {height} inches or {cm_height} cm tall. ")
|
|
print(f"He's {weight} pounds or {kg_weight} kg heavy.")
|
|
print("Actually that's not too heavy.")
|
|
print(f"He's got {eyes} eyes and {hair} hair.")
|
|
print(f"His teeth are usually {teeth} depending on the coffee.")
|
|
|
|
# this line is tricky, try to get it exactly right
|
|
total = age + height + weight
|
|
print(f"If I add {age}, {height}, and {weight} I get {total}.")
|