Commit 5e157a96 by BellCodeEditor

save project

parent eb85fa27
Showing with 4 additions and 0 deletions
...@@ -4,8 +4,11 @@ ...@@ -4,8 +4,11 @@
""" """
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
colors=["red","orange","pink","green"]
turtle.bgcolor("black")
for i in range(100): for i in range(100):
pen.forward(i) pen.forward(i)
pen.right(91) pen.right(91)
pen.color(colors[i%4])
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