Files
practical-python/Solutions/1_5/bounce.py
2020-05-27 17:03:35 -05:00

9 lines
137 B
Python

# bounce.py
height = 100
bounce = 1
while bounce <= 10:
height = height * (3/5)
print(bounce, round(height, 4))
bounce += 1