Q:

Which function overloads the + operator?

0

Which function overloads the + operator?

Refer documentation.


  1. __add__()
  2. __plus__()
  3. __sum__()
  4. none of the mentioned

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

__add__()

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Python Multiple Choice Questions And Answers

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Which operator is overloaded by __invert__()?... >>
<< Program code making use of a given module is calle...