Lesson 2 of 5 · 2 min
Often you do not need one
If the steps never change, a fixed chain is cheaper, faster and easier to test. Errors also compound with every step.
for steps in (1, 5, 10, 20):
print(f"{steps:2} steps at 95% each: {0.95 ** steps:.0%} overall")
