# Write the function find combos(orders)

October 29, 2020
###### Limitations of both deontological and utilitarian theory
October 30, 2020

Part I: Make it a Meal (20 points) Fast food restaurants often offer customers the option ofordering a set of items that constitute a meal. For instance, if aperson buys a hamburger, fries and a soft drink at the same time,the restaurant might offer the items at a discount. Imagine a strange fast food restaurant that offers these itemsfor sale: dumplings, hamburgers, ramen, salads, cups of soda andbottles of water. These items are represented using the following strings: • dumplings: ’dumpling’
• hamburgers: ’hamburger’ • ramen: ’ramen’
• cups of soda: ’soda’ CSE 101 – Spring 2018 Lab #4 Page 1 • bottles of water: ’water’
Discounts are offered to patrons who order one or more of thesecombinations: • Asian Fusion: a dumpling and ramen
• The Heart Attack: a hamburger and a soda
• The Unhappy Meal: a salad and a bottle of water Write the function find combos(orders), which takes a list ofstrings called orders as its argument. The strings are chosen fromthe set of six strings given above and represent a collection ofitems that a pa- tron wants to purchase at the restaurant. (You mayassume that only valid strings appear inside orders.) The functioncounts the number of meal combinations it can make from the list ofstrings given. For in- stance, if the orders list were [’water’,’soda’, ’water’, ’soda’, ’salad’, ’ramen’, ’water’, ’dumpling’,’salad’, ’dumpling’], the function would detect one Asian Fusionmeal, zero Heart Attack meals, and two Unhappy Meals. The functionwould return the list [1, 0, 2] as a result. Note that the countsare returned in this order inside the returned list: [# of Asian Fusions, # of Heart Attacks, # of UnhappyMeals]
For this part of the assignment you do not need to use while-loops.Simply use a for-loop to traverse over the list of strings. However, you probably will want to useBoolean operators to help you detect the meal combinations.

trbet giriş - kronosslot -

## lavivabet giriş

trbet giriş - kronosslot -

## lavivabet giriş

trbet giriş - kronosslot -