10 lines
187 B
Python
10 lines
187 B
Python
|
|
# a very simple version
|
||
|
|
import turtle as t
|
||
|
|
def sier(n,length):
|
||
|
|
if n == 0:
|
||
|
|
return
|
||
|
|
for i in range(3):
|
||
|
|
sier(n - 1, length / 2)
|
||
|
|
t.fd(length)
|
||
|
|
t.rt(120)
|