If you want to strip the newline character \n from each line when adding it to a list you can use the strip() method within a list comprehension ...
確定! 回上一頁