PROGRAM :-
import math
a = int(input("Enter first side : "))
b = int(input("Enter second side : "))
c = int(input("Enter third side : "))
if a==b==c or a==b!=c or a==c!=b or b==c!=a:
print("Triangle is isosceles")
else:
print("Triangle is not isosceles")
import math
a = int(input("Enter first side : "))
b = int(input("Enter second side : "))
c = int(input("Enter third side : "))
if a==b==c or a==b!=c or a==c!=b or b==c!=a:
print("Triangle is isosceles")
else:
print("Triangle is not isosceles")
VIDEO LINK : -
No comments:
Post a Comment
Note: only a member of this blog may post a comment.