filmov
tv
Lesson-12 | More Magic Methods | [OOP in Python]

Показать описание
This is the lesson number 12 of the lesson series on Object Oriented Programming (OOP) in Python. It will be a complete course with the aim is to cover almost everything needed in Object Oriented Programming.
In this lesson we will continue with the concept of Polymorphism and will add few more magic methods. These include magic methods for rich comparison between class objects, for built-in len() function, for making the object iterable and few more.
Link to complete playlist:
Lesson Code:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*Review Questions of the Lesson*
1- In __sub__ method can we use (self._groupMember is not other) instead of != ? Why or why not?
2- Where else in the code we can replace == by is (or != by is not)?
#OOP #ObjectOrientedProgramming #Python
In this lesson we will continue with the concept of Polymorphism and will add few more magic methods. These include magic methods for rich comparison between class objects, for built-in len() function, for making the object iterable and few more.
Link to complete playlist:
Lesson Code:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*Review Questions of the Lesson*
1- In __sub__ method can we use (self._groupMember is not other) instead of != ? Why or why not?
2- Where else in the code we can replace == by is (or != by is not)?
#OOP #ObjectOrientedProgramming #Python
Lesson-12 | More Magic Methods | [OOP in Python]
The magic | Refraction of light #physics #light
Python Programming Tutorial # 188 | Magic Methods for Comparison Operation in Python - English
No Way! 🪄 Let's Learn How to Make a Pencil Magic Trick! #kidsvideo #learning
MAGIC FINGER TRICK TUTORIAL 😱😳
IQ TEST
Coin Magic Trick REVEALED 😱💯 #magic #tricks #shorts #viral #trending #ytshots
Fast Multiplication Trick | Interesting math tricks #shorts #magic #trending
video4 4 Magic methods in Python
Ms Word Tips And Tricks//Ms Word Shortcut Keys//Ms Word Magic code #shorts #youtubeshorts #shortfeed
Fast Division Trick | Japanese Division Trick #maths #shorts #division2
Magic trick with Coin 🪙🪄
The Easiest Card Trick EVER | Magic Trick Tutorial
Mate in 6 moves! Budapest Trap #shorts #chess
The Easiest Card Trick In The World | Magic Trick Tutorial
Questions I get as a human calculator #shorts
Special/magic methods | Python OOP | Part 7
China-USA Multiplication Tricks
Worlds Easiest Magic Trick
How to Crochet Magic Ring Circle #shorts
The SECRET Pencil Magic Trick 😱✏️
MAGIC TRICK (Tutorial) 🤫
Japanese Method #shorts #fyp
hand✋or finger👍|| other people: and Me: |Magic trick | Tutorial 💯😉#shorts
Комментарии