Citi interview question

OOP and Python language questions