Find Triangle are Isosceles or Not in Python

 # Isosceles Triangle

x=int(input("x :"))
y=int(input("y :"))
z=int(input("z :"))
if x==y or y==z or z==x:
print("Isosceles Triangle")
else:
print("Not Isosceles Triangle")


Output :

x : 12 y :41 z :12 Isosceles Triangle


0 comments:

Post a Comment

gurnoorsingh5974@gmail.com

Count Upper Case and Lower Case Word in a string (Python)

  Count Upper Case and Lower Case Word in a string     (Python) def string_test(s):     d={"UPPER_CASE":0, "LOWER_CASE":...