Question: python code Homework for Week 13. (1) Write a class Triangle that uses class Point. It has three attributes, vertexA, vertexB, and vertexC, and it

 python code Homework for Week 13. (1) Write a class Triangle

python code

Homework for Week 13. (1) Write a class Triangle that uses class Point. It has three attributes, vertexA, vertexB, and vertexC, and it has_ init_ (self, a, b, c) and three normal methods . perimeter (returns a float) .area (returns a float using Heron's formula) e vertices (returns a list of three Points)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!