Question: (python) Write a function named triangleArea which takes either one, two or three positive floats as parameters . If three parameters a, b and care

(python)
(python) Write a function named triangleArea which takes either one, two or

Write a function named triangleArea which takes either one, two or three positive floats as parameters . If three parameters a, b and care provided, the function should return the area of a triangle with side lenghts a,b,c. If two parameters a and b are provided it should return the area of a isosceles triangle with side lenghts a, a and b. If a single parameter "a" is provided then the function should return the area of a equilateral triangle with side lenghts a, a, a. Answer: (penalty regime: 0 %)

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!