Skip to content

Instantly share code, notes, and snippets.

@austa
Created February 26, 2011 09:36
Show Gist options
  • Save austa/845075 to your computer and use it in GitHub Desktop.
Save austa/845075 to your computer and use it in GitHub Desktop.
Omü Simge:)
import turtle
t=turtle
t.pensize(5)
t.pen(pencolor="red")
for i in range(0,4):
t.forward(100)
t.left(90)
t.forward(50)
t.left(90)
t.pen(pencolor="black")
t.forward(100)
t.left(180)
t.forward(50)
t.left(90)
t.forward(50)
t.left(180)
t.forward(100)
t.right(90)
t.up()
t.forward(20)
t.right(90)
t.pen(pencolor="brown")
t.forward(10)
t.down()
t.left(60)
t.forward(25)
t.right(150)
t.forward(80)
t.left(90)
t.forward(20)
t.left(180)
t.forward(40)
t.up()
t.right(90)
t.forward(90)
t.right(90)
t.forward(60)
t.right(90)
t.forward(15)
t.down()
for i in range(0,4):
t.forward(25)
t.left(90)
t.forward(25)
t.left(90)
t.forward(25)
t.right(90)
t.forward(45)
t.right(90)
t.forward(25)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment