S
Stef Mientki
hello,
I need a nested list, like this
Because the list is much larger, I need a shortcut (ok I can use a for loop)
So I tried
which doesn't work as expected.
any suggestions ?
thanks,
Stef
I need a nested list, like this
[[None, None], [None, None], [77, None]]A= [ [None,None], [None,None], [None, None] ]
A[2][0] =77
A
Because the list is much larger, I need a shortcut (ok I can use a for loop)
So I tried
[[77, None], [77, None], [77, None]]B = 3 * [ [ None, None ]]
B[2][0] = 77
B
which doesn't work as expected.
any suggestions ?
thanks,
Stef