The rstrip() method removes any trailing character at the end of the string. By using this method, we can remove newlines in the provided string value. Code:
確定! 回上一頁