Build a capped retry schedule — Python practice — Live Code Tutor