Python Duck Typing
Channel:
Subscribers:
50,600
Published on ● Video Link: https://www.youtube.com/watch?v=-eeElCrjdD0
Duck Typing in Python. Duck Typing is a form of polymorphism, where multiple classes can have a similar, if not the same, behavior. This is done through having each class utilize the same method name. The term comes from the quote "If it walks like a duck and it quacks like a duck, then it must be a duck". It doesn't matter if a class is a duck, as long as it has a quack method
Python Object Oriented Programming Playlist:
• Python Object Oriented Programming
Python Data Structures and Algorithms Playlist:
• Python Data Structures and Algorithms
Python Game Programming Projects Playlist:
• Python Game Programming Tutorial
Subscribe for more coding tutorials 😄!
Other Videos By Kenny Yip Coding
2025-03-31 | How to Install Pygame |
2025-03-21 | Python Nested Classes (Inner Class) |
2025-03-20 | Python Class Aggregation |
2025-03-19 | Python Class Composition |
2025-03-18 | Python Abstract Class and Abstract Method |
2025-03-17 | Python Method Resolution Order / MRO, Super, and Diamond Inheritance Problem |
2025-03-16 | Python Multiple Inheritance |
2025-03-15 | Python Multilevel Inheritance |
2025-03-13 | Python super() Function |
2025-03-12 | Python Inheritance |
2025-03-11 | Python Duck Typing |
2025-03-10 | Python Class Variables |
2025-03-09 | Sorting Classes in Python |
2025-03-08 | Python Dunder Methods mul vs rmul |
2025-03-07 | Practice Dunder Methods in Python |
2025-03-06 | Python Classes Dunder Methods and Polymorphism |
2025-03-05 | Design a Credit Card Class (Python Object Oriented Programming) |
2025-03-04 | Python Classes, Methods, and Objects |
2025-02-26 | Build a Calculator in Python |
2025-02-21 | C++ String Functions |
2025-02-19 | C++ Tuples |