So I am trying to create a new SEPARATE list every time a statement is true in python. Essentially:
for i in range(z):
if X is true:
create a new list
There is no way to know how many lists I need, I can try to estimate as I am doing a greedy type algorithm but I am struggling to figure out how iteratively make new separate lists.