我不太清楚为什么它给了我超出范围的列表索引。到目前为止,我已经尝试了几种解决方案,但没有一种有效。= open("scoreboard.csv", "rt") for i in scoreboardReaderNEA-PROJECT.py",第127行,endGame (点数)文件"E:\Nea\NEA-PROJECT.py",第
if productid==row[0]: #This means it runs every row in the reader file which is the csv file in thisstocklevel = float(stocklevel)-float(amount) b = open('products.csv', 'w') data = [['row[3