We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edec494 commit d189e84Copy full SHA for d189e84
1 file changed
Work/bounce.py
@@ -1,3 +1,9 @@
1
# bounce.py
2
#
3
# Exercise 1.5
4
+height = 100
5
+bounces = range(1, 11)
6
+for bounce in bounces:
7
+ height *= 3/5
8
+ print(bounce, round(height, 4))
9
+
0 commit comments