Commit 71e1a7e8 by BellCodeEditor

save project

parent c85db4c4
Showing with 26 additions and 1 deletions
...@@ -4,7 +4,7 @@ screen.bgcolor("light blue") ...@@ -4,7 +4,7 @@ screen.bgcolor("light blue")
pen=turtle.Pen() pen=turtle.Pen()
pen.pencolor('red') pen.pencolor('red')
pen.pensize(10) pen.pensize(10)
len=60 len=100
pen.left(45) pen.left(45)
pen.forward(2*len) pen.forward(2*len)
pen.circle(len,180) pen.circle(len,180)
......
import turtle
pen=turtle.Pen()
pen.fillcolor('yellow')
pen.begin_fill()
pen.forward(200)
pen.goto(0,-200)
pen.left(90)
pen.forward(200)
pen.end_fill()
pen.penup()
pen.goto(200,0)
pen.right(180)
pen.pendown()
pen.fillcolor('purple')
pen.begin_fill()
pen.forward(200)
pen.right(90)
pen.forward(200)
pen.end_fill()
pen.hideturtle()
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