Ad
  • Custom User Avatar

    There are floats among the given numbers; thus, using eval and str to multiply the numbers, like you did, loses precision due to rounding.

    Try to find another way of multiplying the numbers that doesn't involve strings.

    Do note that this is only a problem due to floats, and if you were given only integers, there would be no problem with your approach, except for suboptimal performance, of course.

  • Custom User Avatar

    14.3259057835044 should equal 14.325905783504401

    7.733044285559698 should equal 7.7330442855597

    all other tests passed (python)