My code is correct but the lesson is running forever, what should I do?


#1

Question

My code is correct but the lesson is running forever, what should I do?

Answer

There are a few things you can try if your code is actually correct but the exercise won’t pass:

  1. Use Chrome, it’s typically the most reliable
  2. Clear your browser’s cache and press Ctrl + F5 (Windows) or Cmd + Shift + R (Mac)
  3. Check our official troubleshooting guide if neither of the above worked.

FAQ: Learn Python- Loops - For your health