Write a Python class to find the three elements that sum to zero from a set of n real numbers.

Write a Python class to find the three elements that sum to zero from a set of n real numbers. 


Input array : [-25, -10, -7, -3, 2, 4, 8, 10]
Output : [[-10, 2, 8], [-7, -3, 10]]
"""


class Calculator(object):
    def do_work(self, my_array):
        pass

   
my_calc = Calculator()
my_calc.do_work([-25, -10, -7, -3, 2, 4, 8, 10])

assert(my_calc.do_work([-25, -10, -7, -3, 2, 4, 8, 10]) == [[-10, 2, 8], [-7, -3, 10]])
assert(my_calc.do_work([]) == [])


Learn More :