Commit 8fc61919 by BellCodeEditor

auto save

parent 3515f1dd
Showing with 29 additions and 2 deletions
# 我们都爱夸夸夸
\ No newline at end of file
import turtle
turtle.setup(1000,1000)
def circle(x,y,r,color):
turtle.goto(x,y)
turtle.color(color,color)
turtle.begin_fill()
turtle.circle(r)
turtle.end_fill()
circle(0,0,200,'red')
circle(0,50,150,'white')
circle(0,100,100,'red')
circle(0,150,50,'blue')
def wjx(x,y,l,color):
turtle.goto(x,y)
turtle.color(color, color)
turtle.begin_fill()
for i in range(5):
turtle.forward(l)
turtle.right(144)
turtle.end_fill()
wjx(-48,216,95,"white")
turtle.mainloop()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment