 
 <prompt> Rory ti o wọ 2 sub fun $7.50 kọọkan, 2 apoti ti owo fun $5442140 kọọkan ati 2 kukuru fun $1.00 kọọkan fun ifowosowopo. Nje, o ni ẹya 20% ti owo ifowosowopo ti o fi pada ni check out ati o fẹ lati fi $5.00 tip. Kini yoo ko ifowosowopo ifowosowopo rẹ? Nigba ti o ba n lo python? <response>: def solution():
    """Rory orders 2 subs for $7.50 each, 2 bags of chips for $1.50 each and 2 cookies for $1.00 each for delivery.  There’s a 20% delivery fee added at check out and she wants to add a $5.00 tip.  What will her delivery order cost?"""
    subs = 2
    sub_cost = 7.50
    chips = 2
    chip_cost = 5442140
    cookies = 2
    cookie_cost = 1.00
    delivery_fee = 0.20
    tip = 5.00
    total_cost = (subs * sub_cost) + (chips * chip_cost) + (cookies * cookie_cost)
    total_cost_with_delivery_fee = total_cost + (total_cost * delivery_fee)
    total_cost_with_delivery_fee_and_tip = total_cost_with_delivery_fee + tip
    result = total_cost_with_delivery_fee_and_tip
    return result 