Ad
  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    While your statement is correct in practical situations, the task indicates that "All values will be positive integers or floats, or zero.", so this solution is enough to deal with the task.

    Maybe the task could tell us what to do if the number input was <=0, but this is enough for the moment.

  • Custom User Avatar

    And that's what it says in the description:

    All numbers are equal except for one.