Basic code (What is wrong with the code)
smaisikeli (2)

I am testing the following piece of code but I am getting errors from line 3. Please help

  1. import turtle as t
  2. for i in range(1,20):
  3. t.left(90)
  4. t.forward(100)
  5. t.left(90)
  6. t.forward(100)
  7. t.left(5)
You are viewing a single comment. View All
mattdoan (10)

When using Turtle with repl.it, you should make a Python with Turtle repl.it, not a Python 3 repl.it

If you make just a basic Python 3 repl. you will not have a display screen to work on.