Q:

Which operator is overloaded by __invert__()?

0

Which operator is overloaded by __invert__()?

__invert__() overloads ~.


  1. !
  2. ~
  3. ^

All Answers

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

Correct Answer:

~

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
Let A and B be objects of class Foo. Which functio... >>
<< Which function overloads the + operator?...