Cisco interview question

Python oops concepts