Skip to content

Commit e376a08

Browse files
committed
ex 1.5 bouncing ball
1 parent a608739 commit e376a08

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Work/bounce.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
# bounce.py
22
#
33
# Exercise 1.5
4+
5+
height = 100
6+
for i in range(10):
7+
height = height * 3 / 5
8+
print(round(height,4))

0 commit comments

Comments
 (0)