Commit d2127644 by BellCodeEditor

save project

parent 0b90dc24
Showing with 8 additions and 2 deletions
...@@ -4,4 +4,10 @@ ...@@ -4,4 +4,10 @@
""" """
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
wcim=1 color=['red','green','orange','yellow']
\ No newline at end of file for i in range(1,301):
pen.pencolor(color[i%4])
pen.forward(i)
pen.right(91)
turtle.hideturt()
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