As soon as, I closed an opened the file it stopped running

Question:
As soon as, I closed an opened the file it stopped running

Repl link/Link to where the bug appears:
https://replit.com/@dariocarvalho24/100-days-of-code#bandnamegenerator.py

Screenshots, links, or other helpful context:

code snippet

You have no main.py anymore. Rename your file from bandnamegenerator.py to main.py and it should run when you click run.

Or you could change the entrypoint in the .replit config file.

You will need to show hidden files to see the .replit config file.

2 Likes