Question: using python *6.17 (The MyTriangle module) Create a module named MyTriangle that contains the following two functions: # Returns true if the sum of any
using python 
*6.17 (The MyTriangle module) Create a module named MyTriangle that contains the following two functions: # Returns true if the sum of any two sides is # greater than the third side. def isValid(sidel, side2, side3): # Returns the area of the triangle. def area(sidel, side2, side3): Write a test program that reads three sides for a triangle and computes the area if the input is valid. Otherwise, it displays that the input is invalid. The formula for com- puting the area of a triangle is given in Exercise 2.14. Here are some sample runs: Enter three sides in double: 1, 3, 1 Enter Input is invalid Enter three sides in double: 1, 1, 1 Enter The area of the triangle is 0.4330127018922193
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
