0% found this document useful (0 votes)
21 views

1) Duck Typing Philosophy of Python

Uploaded by

d2op
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views

1) Duck Typing Philosophy of Python

Uploaded by

d2op
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 2

1) Duck Typing Philosophy of

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()

You might also like