个人感觉,美队盾牌还是挺帅的。
上上上代码:
import turtle as t
t.speed(15)
t.penup()
t.goto(0,-200)
t.pendown()
t.color('red')
t.begin_fill()
t.circle(200)
t.end_fill()
t.penup()
t.goto(0,-160)
t.pendown()
t.color('white')
t.begin_fill()
t.circle(160)
t.end_fill()
t.penup()
t.goto(0,-120)
t.pendown()
t.color('red')
t.begin_fill()
t.circle(120)
t.end_fill()
t.penup()
t.goto(0,-80)
t.pendown()
t.color('blue')
t.begin_fill()
t.circle(80)
t.end_fill()
t.penup()
t.goto(-75,25)
t.pendown()
t.color('white')
t.begin_fill()
for i in range(5):
t.forward(155)
t.right(144)
t.end_fill()
t.hideturtle()
t.done()
运行结果:
哪里看不懂可以私信我,我很有耐心的,人也超好的。一起交流进步。