triangle - Hightechrobo Bin
  PYTHON   152

triangle

Guest on 27th November 2021 06:09:08 AM

  1. x=[float(input("enter a number ")),float(input("enter a number ")),float(input("enter a number "))]
  2.  
  3.  
  4. if x[0] == x[2] or x[2] == x[1] or x[0] == x[2]  and x[1] != x[0] != x[2]:
  5.     print("its a isosceles")
  6. elif x[0] == x[1] == x[2] :
  7.     print("its a equality ")
  8. else:
  9.     print("its scalene")


Add Comment

* Required information
1000
Drag & drop images (max 3)
Out of 56, 14 or 27, which is the smallest?
Captcha Image
Powered by Commentics

Comments

No comments yet. Be the first!

Raw Paste


Login or Register to edit or fork this paste. It's free.