Fork me on GitHub

Caroline's Turtlehack

by Caroline Pate

11 Oct 2013

my python turtlehack drawing

import turtle
import random
from turtlehack import *
lisa = turtle.Turtle()

size = 50
for i in range(10):
  colored_square(lisa, size, random_color())
  size += 10

for i in range(3):
  lisa.forward(75)
  lisa.left(120)
  lisa.color(random_color())
  random_circle(lisa, 5, 10)
Caroline is a senior multimedia journalism major at UNC Chapel Hill. Her interests include music, television, cats, pizza, and beautiful news applications that tell a story. Find Caroline Pate on Twitter, Github, and on the web.
comments powered by Disqus