This is how my code is basically set up, but as you can see p1-p9 is static behavior. What if i dont know how many items will be unpacked from zip(*P)?
#What if i dont know how many items are being unpacked with *P?
for p_1, p_2, ... p_9 in zip(*P):
#doing something with p1-pn
I wish to ask if there is a way to set up my iterator dynamically so that it depends on the state of zip(*P)
for p_array in zip(*P):
#Maybe there is some way to set up a dynamic list as an iterator?