object oriented programming 7

  • Every turtle understands the same methods
  • Every turtle has the same fields or instance variables
  • Heading, body color, pen color, X and Y position

Yet, each turtle can have its own values for these fields.

Develop three new methods for the Turtle class as follows:

Save your time - order a paper!

Get your paper written from scratch within the tight deadline. Our service is a reliable solution to all your troubles. Place an order on any task and we will take care of it. You won’t have to worry about the quality and deadlines

Order Paper Now
  • 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

Capture a screenshot of your output. Paste the screenshot into a Word document.

Submit your Word document and your .py file in a .zip file

 
Looking for a similar assignment? Our writers will offer you original work free from plagiarism. We follow the assignment instructions to the letter and always deliver on time. Be assured of a quality paper that will raise your grade. Order now and Get a 15% Discount! Use Coupon Code "Newclient"