Question: Using Python in Windows Exercise 1 Write a function triangleChecker that takes three floats f1, f2, f3. Assume these values are the side lengths of
Exercise 1 Write a function "triangleChecker" that takes three floats f1, f2, f3. Assume these values are the side lengths of the triangle. The function should check the validity of the triangle and print whether the triangle is valid or not. If it is valid, the result should also indicate the type of triangle (equilateral, isosceles, or scalene). Here are some hints about triangles; * Triangle inequality only depends on the length of the sides. ** An equilateral triangle is a triangle in which all three sides are equal. A scalene triangle is a triangle that has three unequal sides. An isosceles triangle is a triangle with (at least) two equal sides CS103-Lab 4 Page 3 of 3 Sample input 5, 4, 6 Expected Output The triangle is valid. It is a scalene Triangle
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
