a=input("enter first side")
b=input("enter second side")
c=input("enter third side")
d=int(a)
e=int(b)
f=int(c)
if d+e>f and e+f>d and f+d>e:
print("it is atriangle")
else:
print("not triangle")
if d**2+e**2==f**2 or e**2+f**2==d**2 or d**2+ f**2==e**2:
print("right angled triangle")
else:
print("not aright angled")
No comments:
Post a Comment