1) Duck Typing Philosophy of Python
1) Duck Typing Philosophy of Python
Python:
In Python we cannot specify the type explicitly.
Based on provided value at
runtime the type will be considered
automatically. Hence Python is considered as
Dynamically Typed Programming Language.
def f1(obj):
obj.talk()