Is "import turtle" supported under the Python 3 compiler?
zippykins (3)

I'm sorry if this is a simple question or if I had made an error somewhere, im a beginner to coding in general so bear with me.
I'm trying to run a simple program using the turtle command and everytime i run it on this site I get an error that reads "_tkinter.TclError: no display name and no $DISPLAY environment variable". When I try to run this code on other compilers it runs just fine. I feel like I may be making a very simple mistake, below is the code:

import turtle
tut = turtle.Pen()
count = 0

for x in range(8):
count = count+1
print("Loop cycles: " + str(count))
if count > 7:
print("The octagon has completed.")

You are viewing a single comment. View All
gorelhedin (2)

Running the turtle with python 3 would be really great for teaching purposes. Do you have any time plan for when this will be implemented?