A program in python to check if a triangle is an equilateral or an isosceles or a scalene triangle.
In the above Python program to check if a triangle is an equilateral or an isosceles or a scalene triangle, we will use conditional statements which will give us the desired results. For Equilateral triangle all sides should be equal, For Isosceles triangle any two sides should be equal and if no sides are equal…