79683423

Date: 2025-06-29 01:26:41
Score: 1
Natty:
Report link

@juanpa.arrivillaga answer in the optimal form.

from functools import singledispatchmethod

class Polynomial:
    @singledispatchmethod
    def __add__(self, other):
        return NotImplemented

@Polynomial.__add__.register
def _(self, other: Polynomial):
    return NotImplemented


Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Looks like a comment (1):
Posted by: kdubs