Home > Computer Programming > I had no idea you could do this in Python!

I had no idea you could do this in Python!

November 7, 2014 Leave a comment Go to comments
from turtle import *
setup()
title("turtle test")
clear()

#DRAW A SQUARE
down() #pen down
forward(50) #move forward 50 units
right(90) #turn right 90 degrees
forward(50)
right(90)
forward(50)
right(90)
forward(50)
Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s