用Python-turtle画的美队盾牌
我用Python的turtle库,做了一个画美队盾牌的程序。(不喜勿喷 )
#导入turtle
import turtle as t
#设置速度
t.speed(0)
#画最低层的圆
t.goto(0,-200)
t.pendown()
t.color('red')
t.begin_fill()
t.circle(200)
t.end_fill()
#画第2层的圆
t.penup()
t.goto(0,-150)
t.pendown()
t.color('white')
t.begin_fill()
t.circle(150)
t.end_fill()
#画第3层的圆
t.penup()
t.goto(0,-100)
t.pendown()
t.color('red')
t.begin_fill()
t.circle(100)
t.end_fill()
#画第4层的圆
t.penup()
t.goto(0,-50)
t.pendown()
t.color('blue')
t.begin_fill()
t.circle(50)
t.end_fill()
#画五角星
t.penup()
t.goto(-40,10)
t.pendown()
t.color('white')
t.begin_fill()
for i in range(5):
t.forward(80)
t.right(144)
t.end_fill()
t.hideturtle()
({:10_254:} 这是一个小学生写的程序,不喜勿喷 ,不要打负分{:10_254:} ) {:10_284:}关键你的名字......让我忍不住想给你打负分—— "吃小甲鱼" ??? !!!{:10_277:} 建议可以贴一张效果图,加油!{:9_227:} 小伤口 发表于 2022-2-8 10:46
建议可以贴一张效果图,加油!
OK,当时没权限{:10_269:},谢谢{:10_254:}
页:
[1]