import csv exp=[] with open('exp.txt', 'r') as file: for data in file.readlines(): data = data.strip() #strip()會去掉空白,或換行符號\n exp.append(data) ...
確定! 回上一頁