Skip to content

Commit e673f58

Browse files
committed
bounce.py
1 parent c8effcd commit e673f58

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Work/bounce.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
# bounce.py
2-
#
3-
# Exercise 1.5
2+
43
height = 100
54
bounces = range(1, 11)
65
for bounce in bounces:
76
height *= 3/5
87
print(bounce, round(height, 4))
9-

0 commit comments

Comments
 (0)