def best_promo(order):  # <2>
    return max(promo(order) for promo in promos)  # <3>

# END STRATEGY_BEST
Select best discount available
dataset/ETHPy150Open fluentpython/example-code/06-dp-1class-func/strategy_best.py/best_promo