Ad
Code
Diff
  • class add:
        def __new__(self, x, y):
            return x + y
    • from operator import add as add
    • class add:
    • def __new__(self, x, y):
    • return x + y
Code
Diff
  • add=lambda*a:sum(a)
    • add= lambda a, b: a+b
    • add=lambda*a:sum(a)