Commit 27689ce0 by BellCodeEditor

save project

parent 34a82278
Showing with 77 additions and 5 deletions
import turtle
pon=turtle.Pen()
pon.color("red")
pon.begin_fill()
for i in range(5):
pon.forward(100)
pon.right(144)
pon.end_fill()
turtle.done()
\ No newline at end of file
import turtle
turtle.color("yellow")
turtle.circle(100)
turtle.color("red")
turtle.circle(80)
turtle.color("blue")
turtle.circle(60)
turtle.color("green")
turtle.circle(40)
turtle.color("pink")
turtle.circle(20)
turtle.done()
\ No newline at end of file
...@@ -3,13 +3,59 @@ ...@@ -3,13 +3,59 @@
""" """
import turtle import turtle
pon=turtle.Pen() pon=turtle.Pen()
pon.fillcolor("red")
pon.color("red")
pon.begin_fill()
for i in range(3):
pon.forward(100)
pon.right(120)
pon.left(120)
pon.forward(-100)
pon.end_fill()
pon.right(120)
pon.forward(100)
pon.left(45)
pon.color("blue")
pon.begin_fill()
for i in range(4):
pon.forward(80)
pon.left(90)
pon.end_fill()
pon.right(45)
pon.forward(100)
pon.left(36)
pon.color("green")
pon.begin_fill() pon.begin_fill()
for i in range(5): for i in range(5):
pon.forward(200) pon.forward(60)
pon.left(144) pon.left(72)
pon.hideturtle() pon.right(36)
pon.end_fill() pon.end_fill()
pon.forward(100)
pon.color("yellow")
pon.begin_fill()
for i in range(12):
pon.forward(25)
pon.left(30)
pon.end_fill()
pon.forward(100)
pon.color("black")
pon.begin_fill()
for i in range(6):
pon.forward(50)
pon.left(60)
pon.right(36)
pon.end_fill()
turtle.done() 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