Turtle screen not connecting to replit servers

Question:
i think there ius a bug in my code because the turtle screen comes with an error saying that it hasn’t connected to the severs.

Current behavior:
shows a error screen

Desired behavior
show something on the screen

Repl link:
https://replit.com/@EthanRisse1/custom-coding-language

import turtle, math, importlib
from decoded import execute

wn = turtle.Screen()
wn.setup(600, 600)
wn.tracer(0)

def setUpGrid():
  line = turtle.Turtle()
  line.hideturtle()
  for y in range(20):
    line.penup()
    line.goto(-300, (y * 30) - 300)
    line.pendown()
    line.goto(300, (y * 30) - 300)

    line.penup()
    line.goto((y * 30) - 300, -300)
    line.pendown()
    line.goto((y * 30) - 300, 300)
setUpGrid()

Hey @EthanRisse1 welcome to the forums!

I’m not getting any issues, have you tried rerunning the Repl or typing kill 1 into the Shell. If that doesn’t work try removing your browser cache and try to run the Repl again. I hope this helps!

1 Like

Thank you for helping

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.