Welcome to Ask! Did you rename main.py to something else? Replit runs main.py by default. Either rename your file or change which file the repl runs by following 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.