# Global list of menu items and their prices.
MENU = {
    "caesar_salad": 11.00,
    "pasta_alfredo": 17.50,
    "grilled_salmon": 24.00,
    "tiramisu": 7.50,
    "sparkling_water": 3.00,
    "iced_tea": 4.50,
}
# Global flag for expensive bill.
expensive_bill = False

def calculate_bill(ordered_items):
    total = 0.0
    for item in ordered_items:
        total += MENU[item]
    if total > 50.0:
        expensive_bill = True
        print(f"Expensive bill: ${total:.2f}")

def main():
    # Party-of-two order list.
    party_order = [
        "pasta_alfredo",
        "grilled_salmon",
        "iced_tea",
        "iced_tea"
    ]

    calculate_bill(party_order)
    print(f"\nTotal bill: ${total:.2f}")
    if expensive_bill:
        print("You should not be spending so much.")
    else:
        print("You are spending wisely.")

if __name__ == "__main__":
    main()
