replace('\n', '') # Close the file file.close(). Copy. 3. Using readlines() method and join() method. You can use the Python readlines() method ...
確定! 回上一頁