PythonSkills.org
Courses
Exercices
Challenges
Quizzes
Open console
0 points
Get started
Loading...
Learnig Path /
Object-Oriented Programming (OOP)
What are Special Methods?
Loading...
Python Terminal
Loading Python...
If it doesn't load, refresh the page.
Loading...
Run Code
Clear
Previous lesson:
Using Abstract Classes
Next Lesson:
Operator Overloading
0% complete
0/69
Object-Oriented Programming
69 exercices
+
Python Basics
167 exercices
+
Lists Comprehension
100 exercices
+
Exercices
5
Need Help? Go Back to the Lesson
Custom String Representation with Special Methods
Object Equality with Special Methods
Custom Object Representation with `__repr__`
Overloading the Add Operator with `__add__`
Implementing Length Calculation with `__len__`