Python Turtle Swirl

Python GUI Turtle Swirl 







Adapt, Edit and Create your own Groovy Python Turtle Codes.






Source Code


import turtle
t=turtle.Turtle()
wn = turtle.Screen()         
wn.bgcolor("lightblue") 

t.hideturtle()
t.up()
t.setpos(0,170)
t.down()
t.write("Python Swirl",move=True,align="center",font=("Cursive",30,"normal"))

t.up()
t.setpos(0,0)
t.down()
t.pensize(7)
t.speed(0)
colors=["blue","purple","red","yellow","hotpink","green"]


for x in range(201):
    t.color(colors[x%6])
    t.fd(x)
    t.left(85)


Learn more about Python Turtle with this fun Tutorial

Turtle Power



Find More Python and Turtle Codes 


Python GUI Fun with Turtle


Free Code Examples Python Codes





Comments

Popular posts from this blog

Multi-tap Keypad Text Entry

Crypto Mining