-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathex5.py
More file actions
31 lines (21 loc) · 743 Bytes
/
ex5.py
File metadata and controls
31 lines (21 loc) · 743 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/env python
def main():
my_name='Zed A. Shaw'
my_age=35 # not a lie
my_height=74 # inches
my_weight=180 # lbs
my_eyes ='Blue'
my_teeth='White'
my_hair='Brown'
print(f"Lets's talk about {my_name}.")
print(f"He's {my_height} inches tall.")
print(f"He's {my_weight} pounds heavy")
print("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} depending on the coffee")
print(my_age)
# 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 {total}.")
if __name__ == '__main__':
main()