Python Duck Typing

Subscribers:
50,600
Published on ● Video Link: https://www.youtube.com/watch?v=-eeElCrjdD0



Duration: 0:00
149 views
7


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 😄!