Pregunta de entrevista de The Cigna Group

Coding question related to Python