Pergunta de entrevista da empresa Pocket FM

Shared codeshare link with python code and asked to refactor the code