0
我得到的Python 2.7以下錯誤「需大於0值解壓」當我執行這些行:Python的元組循環值誤差
for row, row2 in results, results2:
row = list(row)
row2 = list(row2)
row2[7] += row[7]
的目標是與value0添加value0的結果在results2中,然後result1中的值爲1,result2中的值爲1,...我使用psycopg2模塊的「fetchall()」函數。
有人可以幫我嗎?
非常感謝