12 Mar PMCA Sunday 09:00 Python Homework 20.03.08.
Question:
Write a method that reads in three angles (in degrees). State the type of the triangle based on the conditions below:
- If all three angles are 60, output Equilateral.
- If the three angles add up to 180 and exactly two of the angles are the same, output Isosceles.
- If the three angles add up to 180 and no two angles are the same, output Scalene.
- If the three angles do not add up to 180, output Error.
Sorry, the comment form is closed at this time.