Hey can someone help me with turtle.terminator pls i just started with coding and i dont know what to do

import turtle
turtle.speed(30)
turtle.color(‘red’)

turtle.begin_fill()
def prostokat(a, b):
for _ in range(2):
turtle.forward(a)
turtle.left(90)
turtle.forward(b)
turtle.left(90)

a = 150
b = 100

ilosc2 = 36
kat = 360/ilosc2

for _ in range(ilosc2):
prostokat(300, 150)
turtle.left(kat)
turtle.end_fill()
turtle.mainloop()

import turtle

turtle.color(‘blue’)

turtle.fillcolor(‘green’)
turtle.begin_fill()
def kwadrat(bok):
for _ in range(4):
turtle.forward(bok)
turtle.left(90)

bok = 200
ilosc = 6
kat = 360/ilosc

for _ in range(ilosc):
kwadrat(bok)
turtle.left(kat)
turtle.end_fill()

Traceback (most recent call last):
File “c:\users\plewb\mu_code\e.py”, line 38, in
turtle.color(‘blue’)
File “”, line 5, in color
turtle.Terminator pls help

Hi P,
Sorry you had to wait so long. :sweat: But I’ll try… :nerd_face:

I copied yr code and got a few questions.

  1. On line, [turtle.color(‘red’) and (‘blue’) and (‘green’)] , the quotes seem mixed up.

(I never know if that is due to this platform translating incorrectly or something else.)

So, In case you didn’t know, Quotes are ‘up and down’ usually by the ‘enter’ key. The backtick<`> on the top left of yr keyboard may not work the same.

  1. Double check your functions ‘def’ and ‘for loops’ for proper indentation. Again, I never know if that is a copy/paste problem.
    HTH
    :sunglasses:

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