Pregunta de entrevista de Infosys

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