Is there a simpler way to take a sentence string and return the sentence with the order of the characters in each word reversed? Importantly, the order of the characters in the words is reversed, NOT reverse the order of words in the sentence.
def reverse_words(sent):
reverseall = sent[::-1]
reversewordlist = reverseall.split()
newlist = reversewordlist[::-1]
newsentence = " ".join(newlist)
return newsentence
print(reverse_words('keep coding')) # => 'peek gnidoc'