1.to ex1 :n
if :n>100 then stop
repeat 5[fd :n rt 144]pu bk 12.5 lt 90 fd 3.75 rt 90 pd
ex1 :n+25
end
执行:ex1 25
2.repeat 3 [repeat 5 [fd 50 rt 144]rt 120]
1.to ex1 :n
if :n>100 then stop
repeat 5[fd :n rt 144]pu bk 12.5 lt 90 fd 3.75 rt 90 pd
ex1 :n+25
end
执行:ex1 25
2.repeat 3 [repeat 5 [fd 50 rt 144]rt 120]