Python
Which of the following is invalid variable in Python?

__str__ = 1
__a = 1
_a = 1
None of the mentioned

ANSWER DOWNLOAD EXAMIANS APP

Python
What is the use of duck typing?

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

ANSWER DOWNLOAD EXAMIANS APP