A 9-question interactive quiz testing knowledge of duck typing in Python, covering behavior-based interfaces, protocols, special methods, and alternatives to duck typing. No time limit, scored out of 100%.

2m read timeFrom realpython.com
Post cover image
Table of contents
Related ResourcesGetting to Know Duck Typing in PythonDuck Typing in Python: Writing Flexible and Decoupled Code

Sort: