Fork me on GitHub

Sierra's Turtle Exercise

by Sierra Moore

15 Jan 2014

If I surround something with backticks it's rendered in code

Here is a simple and ugly design because my dazzling design was abducted by aliens( not a cat on the keyboard). I considered making it resemble a video game, but decided to draw a questionable house complete with underground fireworks.

import turtle

import turtle
wn = turtle.Screen()
wn.bgcolor("#8FBC8F")
tess = turtle.Turtle()
tess.color("black")
tess.forward(100) 
tess.right(90) 
tess.forward(100) 
tess.right(90) 
tess.forward(100) 
tess.right(90) 
tess.forward(100) 
tess.right(50) 
tess.forward(70)
tess.right(80)
tess.forward(30)
tess.left(90)
tess.forward(40)
tess.right(90)
tess.forward(20)
tess.left(40)
tess.right(30)
tess.right(97)
tess.forward(40)
tess.left(60)
tess.forward(13)
tess.right(30)
tess.forward(9)
tess.right(82)
tess.forward(90) 
tess.left(90)
tess.forward(80)
tess.left(90)
tess.forward(80)
tess.left(90)
tess.forward(70)
tess.left(90)
tess.forward(70)
tess.left(90)
tess.forward(60)
tess.left(90)
tess.forward(60)
tess.left(90)
tess.forward(50)
tess.left(90)
tess.forward(50)
tess.left(90)
tess.forward(40)
tess.left(90)
tess.forward(40)
tess.left(90)
tess.forward(30)
tess.left(90)
tess.forward(30)
tess.left(90)
tess.forward(20)
tess.left(90)
tess.forward(20)
tess.left(90)
tess.forward(10)
tess.left(90)
tess.forward(10)
tess.left(90)
tess.forward(100)

print(range(1,70,3))
tess.up()
for size in range(1,70,3):
    tess.stamp()
    tess.forward(size)
    tess.left(60)

wn.exitonclick()

Turtle image

Sierra is a first year MSIS student Find Sierra Moore on Twitter, Github, and on the web.
comments powered by Disqus