from turtle import *
2
​
3
josh = Turtle ()
4
​
5
def draw (length):
6
    if length > 3:
7
        draw (length / 3)
8
        josh.left (60)
9
        draw (length / 3)
10
        josh.right (120)
11
        draw (length / 3)
12
        josh.left (60)
13
        draw (length / 3)
14
    else:
15
        josh.forward (length)
16
​
17
length = 150
18
josh.pen
19
josh.up ()
20
josh.forward (length / 2)
21
josh.left (90)
22
josh.forward (length / 4)
23
josh.right (90)
24
josh.down ()
25
josh.pensize(0)
26
josh.begin_fill()
27
for i in range (3):
28
    josh.right (120)
29
    draw (length)
30
josh.end_fill()  
31
josh.done ()
32
​