Question: Movie Munchies Function Name: snackMaker ( ) Parameters: orders ( list ) , snacks ( list ) , drinks ( list ) Returns: moviegoers (
Movie Munchies
Function Name: snackMaker
Parameters: orders list snacks list drinks list
Returns: moviegoers list
Description: You work at the movie theater snack station, and with everyone coming for the
Interstellar rerelease, you've run out of many items!
Write a function that takes three lists: a orders list containing lists in the format name snack,
drink a list of snacks you have, and a list of drinks you have. Return the people whose orders
you have the snacks and drinks to make as a list, sorted alphabetically.Danny "Popcorn", "Fanta"drinks Cola Icee", "Sprite", "Lemonade"
snackMakerorders snacks, drinks
Sila snacks Junior Mints", "Skittles", "Hot Dog", "Popcorn"snackMakerorders snacks, drinks
Kirito 'Saleh'
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
