Get all combinations in a range

This seems to replicate the Python bunch_of_coins:

coins = [2, 5, 10, 20, 50, 100]
bunch_of_coins = Iterators.product([0:i:200 for i in coins]...)

(By the way, the Python version gives tuples of 6 elements, not 100, so I’m not sure if you meant for the Julia version to create tuples of 100 elements.)

1 Like