Python Trim String Newline Python Code Editor