Infosys interview question

Given some basic coding problems to test proficiency in Python concepts such as functions, classes and so on.