adplus-dvertising
frame-decoration

Question

Which operator is overloaded by __invert__()?

a.

!

b.

~

c.

^

d.

Posted under Python

Answer: (b).~

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which operator is overloaded by __invert__()?