象棋爱好者 发表于 2022-10-9 17:26:47

四叶草

from turtle import *
pensize(5)
left(45)
color('yellow','green')
#for i in range(0,4):
a=4
r=100
while a>=1:

    begin_fill()
    forward(2*r)
    circle(r,180)
    left(-90)
    circle(r,180)
    forward(2*r)
    end_fill()
    a=a-1

ShaneW 发表于 2022-10-21 16:52:32

好耶
页: [1]
查看完整版本: 四叶草