Program to find the triangle are Equilateral , Isosceles and Scalene in python
x=int(input("x :"))
y=int(input("y :"))
z=int(input("z :"))
if x == y == z:
print("Equilateral Triangle ")
elif x==y or y==z or z==x:
print("Isosceles Triangle")
else:
print("scalene Triangle")
Output :
x :10 y :45 z :10 Isosceles Triangle



0 comments:
Post a Comment
gurnoorsingh5974@gmail.com