Question:
Hi @ericchelini1, welcome to the community!
So, first of all, that is a txt file, not a Python file. Second of all, Replit runs the main file by default. You can either change the .replit
file, or just create a new Repl for every program you want to create, rather than creating a new file.
You need to put that code in main.py
file. as the file you are (trying) to run is not a python file. When you click the run button, you are running main.py. Hope that helps!
No problem!
I’m a girl, by the way.
NO!!! You beat me to solving it! Ugg. I will solve one one day though…
sorry…miss QQ
I failed to check…
Thank You.
I will modify the file to .txt
That won’t run the file, if that’s what you were thinking. I meant that Replit was treating it as a .txt
file instead of a Python (.py
) file.
That’s what I mean QQ.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.