Consider:
operator.add(a, b)
I\'m having trouble understanding what this does. An operator is something like +-*/, so what doe
+-*/
It does the same, it's just a function version of the operator in the Python operator module. It returns the result, so you would just it like this:
result = operator.add(a, b)
This is functionally equivalent to
result = a + b