Ad
  • Custom User Avatar

    Hint: Are you using float values in your formulae ?
    Instead of writing 1 or 2 for constants, try using 1.0 or 2.0 (python infers the value as float with no need to do float(x); I do not know which language you are using)

  • Custom User Avatar

    Hi,
    The instructions say:
    If three sides cannot form triangle, or one angle is 180° (which turns triangle into segment) - function should return 0.

    On submitting, one of my results is
    180
    0
    0
    Expected: 3, instead got: 0

    And this is showing an error.
    Am I missing something here- it seems so after going through a few comments here?

  • Custom User Avatar

    Hi,

    I am getting the similar result. And hence stuck here.
    How did you resolve this?