Duck Typing in Python

Python is a dynamic language which is strongly typed. Dynamic binding is the capability to use an instance without regard for its type. It is handled entirely through a simple attribute lookup process. Whenever an attribute is accessed as object.attribute:


This is a companion discussion topic for the original entry at http://iq.opengenus.org/duck-typing-in-python/