Method 1: Using strip() method ... One of the simplest ways to remove newline characters from a string in Python is to use the strip() method.
確定! 回上一頁