Arcadia.io Interview Question

OOP code test in Python