Created
February 27, 2011 22:07
-
-
Save austa/846598 to your computer and use it in GitHub Desktop.
ceng2010
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import turtle | |
t=turtle | |
t.color(1,0,0) | |
t.pensize(5) | |
t.circle(100) | |
t.up() | |
t.left(90) | |
t.forward(100) | |
t.pensize(5) | |
t.pen(pencolor="black") | |
t.left(90) | |
t.forward(65) | |
t.down() | |
t.right(90) | |
t.forward(30) | |
t.right(90) | |
t.forward(30) | |
t.backward(30) | |
t.right(90) | |
t.forward(30) | |
t.left(90) | |
t.forward(30) | |
t.up() | |
t.forward(15) | |
t.down() | |
t.left(90) | |
t.forward(30) | |
t.right(90) | |
t.forward(20) | |
t.backward(20) | |
t.right(90) | |
t.forward(15) | |
t.left(90) | |
t.forward(20) | |
t.backward(20) | |
t.right(90) | |
t.forward(15) | |
t.left(90) | |
t.forward(20) | |
t.up() | |
t.forward(15) | |
t.left(90) | |
t.down() | |
t.forward(30) | |
t.left(210) | |
t.forward(35) | |
t.left(150) | |
t.forward(30) | |
t.right(90) | |
t.up() | |
t.forward(15) | |
t.down() | |
t.forward(30) | |
t.backward(30) | |
t.right(90) | |
t.forward(30) | |
t.left(90) | |
t.forward(30) | |
t.left(90) | |
t.forward(15) | |
t.left(90) | |
t.forward(20) | |
t.up() | |
t.left(90) | |
t.forward(65) | |
t.right(90) | |
t.forward(100) | |
t.right(90) | |
t.forward(20) | |
t.pensize(3) | |
t.down() | |
t.right(90) | |
t.forward(20) | |
t.right(90) | |
t.forward(20) | |
t.right(90) | |
t.forward(20) | |
t.left(90) | |
t.forward(20) | |
t.left(90) | |
t.forward(20) | |
t.up() | |
t.forward(10) | |
t.down() | |
t.left(90) | |
t.forward(40) | |
t.right(90) | |
t.forward(20) | |
t.right(90) | |
t.forward(40) | |
t.right(90) | |
t.forward(20) | |
t.up() | |
t.backward(30) | |
t.down() | |
t.right(90) | |
t.forward(40) | |
t.up() | |
t.right(90) | |
t.forward(10) | |
t.down() | |
t.forward(20) | |
t.right(90) | |
t.forward(40) | |
t.right(90) | |
t.forward(20) | |
t.right(90) | |
t.forward(40) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment