I would like to replace a value in a specific index with specific value retrieved from excel. I'm getting my whole array being replace with the last value retrieved.
details= [[""] * 2 ] * 2
details_index=3
for count1 in range(len(details)-1):
details[count1][0] = sheet.cell(row=count1+2, column=details_index).value
the output always return
[['0009', ''], ['0009', ''], ['0009', ''], ['0009', ''], ['0009', ''], ['0009', ''], ['0009', ''], ['0009', ''], ['0009', ''], ['0009', '']]
any idea what did the loop did wrong?