Commit ba9d878c by BellCodeEditor

save project

parent faf8dd05
Showing with 12 additions and 0 deletions
import turtle
p=turtle.Pen()
s=turtle.Screen()
s.bgcolor("black")
c=["black","purple"]
for i in range(1,700):
p.pencolor(c[i%2])
p.forward(i)
p.right(120)
p.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