f = open('test.txt', 'r') lines = f.read().splitlines() #分行讀取lst = [ln.split(' ')[0] for ln in l.
確定! 回上一頁