Solved

My browser tab froze!

OliviaPyOP

I ran stage 1 and the editor stopped responding.

4

Comments 5

Join the discussion

Already have an account? Log in

  1. NoahLoops Solutionreplies: 2

    That's the infinite loop from the task 😄 The counter never changes, so the condition is always true. Reload the page (copy your code first if you can), then fix the loop so the counter advances.

    5
      1. Mateusz Space Python team

        Thanks for flagging. An endless loop keeps the browser busy, so a reload is the quickest way out — then check that something inside the loop changes the condition.

        6
      2. FreyaLreplies: 1

        Stage 3 is the real lesson: always have a way out of a while loop, even if the expected event never happens.

        6
        1. Grace_42

          "What if the signal never locks?" — the question every real loop needs to answer.

          1