<doocs>0638.Shopping Offers_1.py
def total(price, needs):
    return sum(price[i] * needs[i] for i in range(len(needs)))
def sample_funcname ( var_0 , var_1 ) :
    return sum ( var_0 [ var_3 ] * var_1 [ var_3 ] for var_3 in range ( len ( var_1 ) ) )
