For those not familiar with Haskell,
unlines . map reverse . lines
lambda data : [line[::-1] for line in data]
unlines . reverse. lines
lambda data : [line for line in data][::-1]
'\n'.join(...)