main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import turtle
turtle.shape("turtle")
turtle.color("#8800ff")
turtle.goto(  0,100)
turtle.goto(100,100)
turtle.goto(100,  0)
turtle.goto(  0,  0)
turtle.color("#ff4400")
turtle.fillcolor("#ff440004")
turtle.begin_fill()

turtle.penup()
turtle.goto(-100, 0)
turtle.pendown()
counter = 0
while counter < 3:
    turtle.forward(110)
    turtle.left(120)
    counter += 1 # counter = counter + 1

turtle.end_fill()



turtle.penup()
turtle.goto(0, 150)
turtle.pendown()
turtle.speed(0)


result
console