\n' print("With newlines:" + mystring) print("After deleting the newlines:",mystring.strip()). Output: With newlines: This is my string.
確定! 回上一頁