Commit 617e91aa by BellCodeEditor

auto save

parent 231ecac4
Showing with 11 additions and 29 deletions
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.speed(0) =turtle. ()
colors=["green","pink","white","brown"] pen.pensize(5)
for i in range(300): pen.pencolor("red")
pen.pencolor(colors[i%4]) pen.left(45)
pen.forward(i) pen.forward(100)
pen.right(91) pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.hideturtle() pen.hideturtle()
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