Pergunta de entrevista da empresa Mulberry Technology

a straightforward python coding question