Meraki interview question

A bit of Python OOP design.