main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import turtle
turtle.pensize(5)
turtle.color('red')
turtle.forward(100)
turtle.right(120)
turtle.pensize(10)
turtle.color('blue')
turtle.forward(100)
turtle.right(120)
turtle.pensize(15)
turtle.color('yellow')
turtle.forward(100)
turtle.right(120)

result
console