membalikkan setiap kata dari kalimat tetapi mempertahankan posisi

def reverse_words(text):
  #go for it
    words = text.split(" ")
    new_words = [word[::-1] for word in words]
    new_sentence = " ".join(new_words)
    return new_sentence
Thankful Toad