FactSet Interview Question

write a function to reverse every word in a sentence