You are on page 1of 4

for i in range(3):

for i in range(3):

go(100)

turn(120)

pen_up()

go(150)

pen_down()
color("red")

width(200)

go(1)

pen_up()

go(150)

pen_down()

color("orange")

width(150)

go(1)

color("yellow")

width(75)

pen_up()

go(100)

pen_down()

go(1)

for i in range(2):

go(45)

turn(90)

go(90)

turn(90)

go(15)

turn(90)

go(90)

turn(-90)

go(15)

turn(*90)

Traceback (most recent call last):

File "<console>", line 1, in <module>


TypeError: turn() argument after * must be a sequence, not int

turn(-90)

go(90)

turn(-90)

go(120)

You might also like