Skip to content

Commit d7630de

Browse files
authored
Add files via upload
Wed, January 24 2024, 1146
1 parent f2d66c4 commit d7630de

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

ex5.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name = 'Zed A. Shew'
2+
age = 35 # not a lie
3+
height = 74 # inches
4+
weight = 180 # Lbs
5+
eyes = 'Blue'
6+
teeth = 'White'
7+
hair = 'Brown'
8+
9+
print(f"Let's talk about {name}.")
10+
print(f"He's {height} inches tall.")
11+
print(f"He's got {weight} pound heavy.")
12+
print("Actually that's not too heavy.")
13+
print(f"He's got {eyes} eyes and {hair} hair.")
14+
print(f"His teeth are usually {teeth} depending on the coffee.")
15+
16+
#Student Drill!
17+
18+
height_cm = height * 2.54
19+
weight_kg = weight * 0.453592
20+
21+
print(f"He's {height_cm} cm tall.")
22+
print(f"He's {weight_kg} kg heavy.")
23+
24+
#End in here!

0 commit comments

Comments
 (0)