Python code issue

Python code issue
0

#1

Can’t figure out what is wrong with this code


#2

line 14, the keyword should be “else”, “except” works with “try”


#3

How about this solution?

try:
  a = int(input("side of a"))
  b = int(input("side of b"))
  c = int(input("side of c"))
  if a==b==c:
    print("Equilateral triangle")
  elif a==b or a==c or b==c:
    print("isosceles triangle")  
  else:
    print("scalene triangle")
except:
  print("No triangle exists, the value entered was not a number.")