Skip to main content
1 of 1
grc
  • 19.1k
  • 9
  • 37
  • 80

Python

class X(int):__add__=lambda*y:0
x=X()

# Then (x == x+2) == True
grc
  • 19.1k
  • 9
  • 37
  • 80