Python
Which of the following is the use of id() function in python?

id returns the identity of the object
All of the mentioned
Every object doesn’t have a unique id
None of the mentioned

ANSWER DOWNLOAD EXAMIANS APP

Python
What is the use of duck typing?

Less restriction on the type values that can be passed to a given method
More restriction on the type values that can be passed to a given method
No restriction on the type values that can be passed to a given method
Makes the program code smaller

ANSWER DOWNLOAD EXAMIANS APP