Pregunta de entrevista de Yuva

Basic and advanced question in python