Turtle Challenge 2

Turtle Challenge Two
Save your work as logo2.py
Can you write the code for two of these shapes?
square, triangle, rectangle, pentagon, hexagon, septagon, octagon
You may need some of these codes.
You may need to change p to whatever you defined your turtle variable as.
p.fd(50)
p.rt(90)
p.bk(50)
p.lt(90)
#forward 50
#right 90 degrees
#back 50
#left 90 degrees
 DEBUG  your code if it doesn't work
Comments