結果 : write python code to reverse a string while preserving the whitespace