Sample from list of lists until condition is met
Sample from list of lists until condition is met Question: I have a list of lists that I am randomly choosing a value from. The issue I am having now is that since the loop I wrote is using random.choice() there is the possibility that a given value won’t be present, which will cause an …