Skip to content

Commit 3cae406

Browse files
committed
Completed Exercise 1.6
1 parent 1c33d0c commit 3cae406

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
bill_thickness = 0.11 * 0.001 # Meters (0.11 mm)
2-
sears_height = 442 # Height (meters)
3-
num_bills = 1
4-
day = 1
1+
# sears.py
2+
3+
bill_thickness = 0.11 * 0.001 # Meters (0.11 mm)
4+
sears_height = 442 # Height (meters)
5+
num_bills = 1
6+
day = 1
57

68
while num_bills * bill_thickness < sears_height:
79
print(day, num_bills, num_bills * bill_thickness)
@@ -10,5 +12,4 @@
1012

1113
print('Number of days', day)
1214
print('Number of bills', num_bills)
13-
print('Final height', num_bills * bill_thickness)
14-
15+
print('Final height', num_bills * bill_thickness)

0 commit comments

Comments
 (0)