You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Python, it is recommended to use duck typing rather than explicitly checking the object type.
There are some code segments where isinstance is used,
contradicting the duck typing principle.
Task:
Identify code segments using isinstance.
If possible, change the code segments to adhere to duck typing.
The text was updated successfully, but these errors were encountered:
In Python, it is recommended to use duck typing rather than explicitly checking the object type.
There are some code segments where
isinstance
is used,contradicting the duck typing principle.
Task:
isinstance
.The text was updated successfully, but these errors were encountered: