I have an array which contains again arrays. Now I would like to have every inside-array twice in my main-array.
Unfortunately when going the way I did, I messed the index up and haven't been able to modify a specific element in the array (example: Payliketable[2][5]
) because this is then there serval times.
How can I duplicate every inside-array while giving each it's own "index"?
i = 1
while i < len(PaylikeTable):
PaylikeTable.insert(i,PaylikeTable[i])
i += 2
As said the array "Payliketable" again consists out of arrays.