fork download
  1. import turtle
  2. t = turtle.Turtle()
  3. s = turtle.screen()
  4. s.bgcolor('black')
  5. t.speed(0)
  6. col=("yellow","red","pink")
  7. for i in range(150):
  8. t.pencolor(col[i%3])
  9. t.lt(90)
  10. t.circle(190-i/3,90)
  11. t.lt(60)
  12. s.exitonclick()
Success #stdin #stdout 0.02s 26040KB
stdin
Standard input is empty
stdout
import turtle
t = turtle.Turtle()
s = turtle.screen()
s.bgcolor('black')
t.speed(0)
col=("yellow","red","pink")
for i in range(150):
    t.pencolor(col[i%3])
    t.lt(90)
    t.circle(190-i/3,90)
    t.lt(60)
s.exitonclick()