Question: Python 3 Part III: Chez Wolfi (20 points) Write a function cafe-day () that which takes one argument, orders, which is a list of drink

Python 3

Python 3 Part III: Chez Wolfi (20 points) Write a function cafe-day

() that which takes one argument, orders, which is a list of

Part III: Chez Wolfi (20 points) Write a function cafe-day () that which takes one argument, orders, which is a list of drink orders for the day at a caf. The list orders contains one or more sub-lists, in which each sub-list represents a particular drink order. In each sub-list, there are four elements, in this order 1. A string that indicates the customer's membership, which will be one of these three categories: Platinum membership is represented by the letter P" Gold membership is represented by the letter G' Silver membership is represented by the letter 'S' 2. An integer that represents the number of large drinks for the particular order. CSE 101 - Fall 2017 Lab #5 Page 3 . An integer that represents the number of medium drinks for the particular order. 4. An integer that represents the number of small drinks for the particular order

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!