Skip to content

Instantly share code, notes, and snippets.

@Priler
Created August 19, 2021 09:04
Show Gist options
  • Save Priler/e253b9fb26b11f507ddeeec921892f95 to your computer and use it in GitHub Desktop.
Save Priler/e253b9fb26b11f507ddeeec921892f95 to your computer and use it in GitHub Desktop.
import turtle
colors = ['red', 'blue', 'purple', 'green',
'orange', 'yellow']
t = turtle.Pen()
turtle.bgcolor('black')
t.hideturtle()
for x in range(360):
t.pencolor(colors[x%6])
t.width(x/100 + 1)
t.forward(x)
t.left(59)
@saivan4ick
Copy link

WOW! Priler like

@Ffr443
Copy link

Ffr443 commented Aug 19, 2023

Офигенно

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment