Commit 3e40318d by BellCodeEditor

auto save

parent 654bc3ba
Showing with 16 additions and 0 deletions
import turtle
p=turtle.Pen()
p.pensize(5)
def yuan(x,y,color):
p.penup()
p.goto(x,y)
p.pencolor(color)
p.pendown()
p.circle(100)
yuan(0,0,"black")
yuan(200,0,"red")
yuan(-200,0,"blue")
yuan(100,-170,"green")
yuan(-100,-170,"yellow")
turtle.done()
\ 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