# 7-8 & 7-9: Deli and No Pastrami sandwich_orders = [ 'tuna', 'pastrami', 'ham', 'pastrami', 'veggie', 'pastrami', 'chicken' ] finished_sandwiches = [] # Inform customers that pastrami is unavailable print("Sorry, the deli has run out of pastrami.\n") # Remove all occurrences of 'pastrami' while 'pastrami' in sandwich_orders: sandwich_orders.remove('pastrami') # Make the remaining sandwiches while sandwich_orders: current_sandwich = sandwich_orders.pop(0) print(f"I made your {current_sandwich} sandwich.") finished_sandwiches.append(current_sandwich) # List all finished sandwiches print("\nSandwiches that were made:") for sandwich in finished_sandwiches: print(f"- {sandwich}")