Pregunta de entrevista de Amdocs

Based on Python and opps