Learn the Bisection Method by Finding the Square Root of a Number - Step 11

To anyone having this problem, the ‘for _ in range(max_iterations):’ is needed to be inside else. So the solution is to just literally press tab.

The instructions have a huge body of text about range which blocked the ever so important instruction at the top in which it tells you, it needs to be inside else.

1 Like