Using Jython 5.0 or higher

Using Jython 5.0 or higher

 

Develop three new methods for the Turtle class as follows:

  • Add a method to the Turtle class to draw a rectangle given a certain width and height
  • Add a method to the Turtle class to draw a simple house. It can have a rectangle for the house and an equilateral triangle as the roof.
  • Add a method to the Turtle class to draw a street of houses

Copy and paste code and screenshots of the code working in a 1/2-page Word document.