QUESTION IMAGE
Question
q2) what does it mean for + to be overloaded in python? *
a) it takes up a large chunk of memory
b) it isnt required to perform most operations.
c) it performs a different operation based on the data type.
Brief Explanations
In Python, operator overloading allows an operator like + to have different behaviors depending on the data - types of the operands. For example, for integers + is used for arithmetic addition, and for lists + is used for concatenation.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
C. It performs a different operation based on the data type.