Replit isn't loading in my account

Bug description:
It seems that replit is running fine according to the status check but it fails on loading my code

Expected vs Current Behavior:
when I click “Run” it shows a loading status and does not execute the code

Steps to reproduce:

Bug appears at this link: main.py - Treasure Island - Replit

Screenshot(s)/Screen Recording:

Browser/OS/Device: Edge/122.0.2365.66

Replit Profile: https://replit.com/@giuggiaevan

Hello,
there is a bug where using exit() or similar functions in your code causes your next run to be stuck loading. Try avoiding using exit() in your code. Type kill 1 in the Shell to restart your repl.
One alternative is to put some of your code in a main() function, and replace exit() with return.

3 Likes

Thank you so much for the help, it’s working now. Thank you :blush:

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