The following code uses the strip() function to remove a newline character from a string in Python. str1 = "\n Starbucks has the best coffee \n" ...
確定! 回上一頁