Previous Lecture Complete and continue  

  Lesson 9: Primitive Data Types

4 comments
Creatron Omega

import turtle

turtle = turtle.Turtle()
turtle.color("green")

#square function
def square(length, angle):
for square in range(4):
turtle.forward(length)
turtle.left(angle)

def hexagon():
for star in range(6):
turtle.forward(100)
turtle.left(300)

hexagon()


for i in range(360):
square(100, 90)
turtle.right(11)

poonam ahir
cool...................
Ereatara Kokiri
Cool numbers were getting to me
Erika
haha.. yeah was feeling the same way!