Fork me on GitHub

assignment

by Zekun Yu

10 Sep 2013

Codes:

from turtle import *
import time

color("green")

up()

goto(0,-50)

down()

circle(50)
up()

goto(0,0)
down()

color("blue")
for deg in range(0, 61, 6):
    right(90 + deg)
    forward(100)
    right(90)
    forward(100)
    right(90)
    forward(100)
    right(90)
    forward(100)

up()
goto(-150,-120)
color("red")
write("Done!")

time.sleep(10)

Image

Yu is a first year MSIS student. He likes programming and wants to learn more from class. Find Zekun Yu on Twitter, Github, and on the web.
comments powered by Disqus