Add a method to the Turtle class to draw an equilaterall triangle.
Note: By Turtle class this means a new sub class like SmartTurtle or ConfusedTurtle.
```
class MyTurtle(Turtle):
#Assumes the turtle starts looking straight up
def drawTri(self, size=60):
self.turn(30)
for i in range(3):
self.forward(size)
self.turn(120)
```
You might also like to view...
Explain the primary reason that project managers monitor project work activities.
What will be an ideal response?
Sound adds dimension to your computing experience.
Answer the following statement true (T) or false (F)
A fix for a software problem might be available as a download and is known as an update, patch, or ________
Fill in the blank(s) with correct word
32-bit operating system is capable of supporting up to _______ of RAM. ?Are these megabytes, gigabytes? -Michael
a. 2 b. 4 c. 8 d. 64