Posts

Showing posts with the label write a program to determine whether the traingle is Equilateral or Isosceles or Scalene

write a program to determine whether the traingle is Equilateral or Isosceles or Scalene

  write a program to determine whether the traingle is Equilateral or Isosceles or Scalene      a = int(input())      b = int(input())      c = int(input())      if a ==  b == c:          print("Equilateral")      elif a==b or b==c or c==a:          print("Isosceles")      else:           print("Scalene")