Posts

Showing posts with the label Turtle

Python Turtle Swirl

Image
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

Python GUI Fun with Turtle

Image
Python GUI Visual Python with Turtle You can adapt and edit this fun code to see the beautiful results. Create and run your own visual Python Codes. Source Code import turtle t=turtle.Turtle() wn = turtle.Screen()            wn.bgcolor("lightblue")    t.hideturtle() t.up() t.setpos(0,150) t.down() t.write("Cool Python Codes",move=True,align="center",font=("cursive",30,"normal")) t.up()   t.setpos(0,0) t.down() colors=["blue","purple","red","yellow","orange","green"] for x in range(300):     t.color(colors[x%6])     t.fd(x)     t.left(59) t.screen.exitonclick() t.screen.mainloop()  Learn more about Python Turtle try this awesome Tutorial. coolpythoncodes.com