Calian Interview Question

Python OOP, finish implementing the given method