Jun-09-2019, 02:15 PM
Been a while since I did this.
Can't remember how to get from:
[0, 4, 4, 4]
[0, 4, 4, 10]
[0, 4, 4, 16]
[0, 4, 3, 4]
[0, 4, 3, 10]
ETC ETC.
I figure it's product from itertools but I'm not getting anywhere and google results examples don't seem to be working for me.
NM, I forgot about the *.
Can't remember how to get from:
[[0], [4, 3, 14], [4, 3, 21], [4, 10, 16]]to:
[0, 4, 4, 4]
[0, 4, 4, 10]
[0, 4, 4, 16]
[0, 4, 3, 4]
[0, 4, 3, 10]
ETC ETC.
I figure it's product from itertools but I'm not getting anywhere and google results examples don't seem to be working for me.
NM, I forgot about the *.