I am not sure why I am getting an error when I try to run my lab

Welcome to Ask! Replit only runs main.py and you have no main.py so that’s your problem.
Either rename your file to main.py or follow the steps below:

Just click the next to “Files” then click “Show hidden files”. Next click on the .replit file and finally you can change the entrypoint to whatever file you want to run.

Images

Dots

Show hidden files

edited

You should also see the docs on how to configure a Repl: https://docs.replit.com/programming-ide/configuring-repl

And if you want to run the last edited file, take a look at this post:

3 Likes