I\'m trying to implement an algorithm in a boolean list. It looks like:
price_list = [0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 1]
L