Pergunta de entrevista da empresa FactSet

write a function to reverse every word in a sentence