adplus-dvertising
frame-decoration

Question

Which function overloads the + operator?

a.

__add__()

b.

__plus__()

c.

__sum__()

d.

none of the mentioned

Posted under Python

Answer: (a).__add__()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which function overloads the + operator?