Skip to main content
1 of 3
totallyhuman
  • 17.3k
  • 3
  • 33
  • 88

Haskell, 50 bytes

g(x:y:z)=y:x:z
reverse.unwords.map g.words.reverse

Try it online!

totallyhuman
  • 17.3k
  • 3
  • 33
  • 88