How to make your object play well with built-in operators — Each operator can be used in different way for different types of operands. for example when + is used with integers, it add integers to give result and when + is used with string, it concatenates the provided strings. x, y = 10, 20
print(x + y) # 30 a,b…