To make an example: imaging Bingo.Shuffle the numbers, each number sorted
should be removed from the container, how would it implemented?
should be removed from the container, how would it implemented?
You can select a random element from the set with
random.sample(container, num_of_elems)
And then remove the elem from the set with remove.