0% found this document useful (0 votes)
83 views

Python Operator Overloading

Operator overloading allows the same operator to be used for multiple purposes, and Python supports this functionality. For example, the + operator can be used for both arithmetic addition and string concatenation. Operator overloading provides flexibility in how operators can be used.

Uploaded by

d2op
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
83 views

Python Operator Overloading

Operator overloading allows the same operator to be used for multiple purposes, and Python supports this functionality. For example, the + operator can be used for both arithmetic addition and string concatenation. Operator overloading provides flexibility in how operators can be used.

Uploaded by

d2op
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 2

Operator Overloading:

 We can use the same operator for multiple


purposes, which is nothing but operator
 overloading.
 Python supports operator overloading.
 Eg 1: + operator can be used for Arithmetic
addition and String concatenation

You might also like