Home > other >  Write a love for the one you love (in Python)
Write a love for the one you love (in Python)

Time:12-20

The import turtle

Def curvemove () :
For I in range (200) :
Turtle. Right (1)
Turtle. Forward (1)

Turtle. Color (" red ")
Turtle. Begin_fill ()
Turtle. Left (140)
Turtle. Forward (111.65)
Curvemove ()
Turtle. Left (120)
Curvemove ()
Turtle. Forward (111.65)
Turtle. End_fill ()

Turtle. Penup ()
Turtle. Goto (- 40-50)
Turtle. Pendown ()
Turtle. Write (' ', the font=(" SimHei ", 15, 'bold'))
Turtle. Hideturtle ()

CodePudding user response:

Code base, don't mind
  • Related