Run Function does not Work

Welcome to the Get Help category!

This is where you can ask questions about your code. Some important things to remember when posting in this category :slight_smile:

  • Learn how to ask a good question and get a good answer!
  • Remember to include a link to the exercise you need help with!
  • If someone answers your question, please mark their response as a solution :white_check_mark:
  • Once you understand a new concept, come back and try to help someone else!

I’m getting continuously stuck when I click run and for some reason it seams I lose connection. I have tried changing browser, changing internet connection and so on and nothing solves the problem. In the upload picture below I show an exemple, could somebody help me??


Hello, @cferreira264.

You have an infinite loop. Whatever the condition the while loop is checking must be updated inside the loop. Otherwise if it executes once, it will execute forever. If you comment out the while loop for now, and add a print statement to see what value you’ve assigned countdown to, you may see the problem.

1 Like

Thank you for your help!
kind regards!


This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.