Python +Turtle Class+ Timing out on 4 basic commands

Python - Turtle class timing out.
Program - Import turtle, Initialize window, Initialize turtle, 1 turn 90 degrees, 1 move forward 150
Program dies with error: repl process died unexpectedly: exit status 2
Link to code: https://replit.com/@ewdillard1/5L2TurtleIntro?v=1

  1. Is there a list of exit statuses?
  2. Is this just a timeout.

Welcome to the community! I have recategorized your post as “Code Help/Python” to make it easier for people to find this and help you.

1 Like

Hello, @ewdillard1. Welcome to the community. Sorry, but I am not able to help you maybe @CoderElijah maybe be able to help. Enjoy your time here.

1 Like

Your problem is that you must have your file name as “main.py”. Please rename “main (copy).py” to “main.py”. It is possible to change this setting but that involves editing hidden Replit config files.

2 Likes

The default entrypoint for repls is main.py. I suggest you change the name of your file to main.py, but if you want to keep it named the way it is, you can hit the three little dots in the file navigator window and hit show hidden files.

Edit the run command in the .replit file to run = "python3 <filename>.py" you will also have to delete the interpreter rules.

2 Likes