#中国
import turtle as t
t.setup(1200,900)
t.pensize("15")
t.pencolor("red")
t.speed(3)
t.penup()
t.goto(-450,0)
t.pendown()
t.left(90)
t.fd(70)
t.right(90)
t.fd(190)
t.right(90)
t.fd(70)
t.right(135)
t.fd(7.07)
t.left(135)
t.penup()
t.goto(-450,0)
t.pendown()
t.left(90)
t.fd(190)#中 毕
t.penup()
t.goto(-350,130)
t.pendown()
t.right(90)
t.fd(220)#左 竖
t.penup()
t.goto(-200,130)
t.pendown()
t.fd(210)#上 横
t.penup()
t.goto(-200,130)
t.pendown()
t.left(90)
t.fd(200)#右 竖
t.seth(-90)
t.fd(215)
t.right(135)
t.fd(7.07)#钩
t.right(135)
t.penup()
t.goto(-170,90)
t.pendown()
t.fd(140)
t.penup()
t.goto(-150,25)
t.pendown()
t.fd(100)
t.penup()
t.goto(-170,-40)
t.pendown()
t.fd(140)
t.penup()
t.goto(-100,90)
t.pendown()
t.right(90)
t.fd(130)
t.penup()
t.goto(-70,-10)
t.pendown()
t.left(45)
t.speed(1)
t.fd(15)
t.penup()
t.goto(-200,-85)
t.pendown()
t.left(45)
t.fd(195)
python 书写 “中国”
最新推荐文章于 2024-05-15 08:19:06 发布