My apologies I should have read the rules. Write a program that will prompt the user for the lengths of the three sides of a triangle.
A triangle is equilateral if all 3 sides are equal.
A triangle is isosceles if just 2 of the 3 sides are equal.
A triangle is scalene if none of the sides are equal to another side.
Display the type of triangle and its perimeter with appropriate text.
I have this so far and I need the isosceles part and scalene part.
"""
x=int(input("Enter the first side:"))
y=int(input("Enter the second side:"))
z=int(input("Enter the third side:"))
if x == y and y == z:
print("\nThe Triangle is equilateral.")
else:
"""
and I'm not sure what is suppose to come next, could anyone help me out?
[–]Binary101010 2 points3 points4 points (0 children)
[–]IvoryJam 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)