PythonSkills.org
Courses
Exercices
Challenges
Quizzes
Open console
0 points
Get started
Loading...
Learnig Path /
Object-Oriented Programming (OOP)
Operator Overloading
Loading...
Python Terminal
Loading Python...
If it doesn't load, refresh the page.
Loading...
Run Code
Clear
Previous lesson:
What are Special Methods?
Next Lesson:
Multiple inheritance
Exercices
5
Need Help? Go Back to the Lesson
Overloading the Subtraction Operator with `__sub__`
Overloading the Equality Operator with `__eq__`
Overloading the Multiplication Operator with `__mul__`
Overloading the String Representation with `__str__`
Overloading the Division Operator with `__truediv__`
Python Basics
167 exercices
+
Lists Comprehension
100 exercices
+
0% complete
0/69
Object-Oriented Programming
69 exercices
+