Question: Code the following using only pythons 3: # AHPA #9: The Party You need to come up with a Python program to keep


Code the following using only pythons 3:

 

# AHPA #9: The Party  

You need to come up with a Python  program to keep track of who's # coming, what they are bringing, # and how many people you will be  able to serve.  Come up with a program that uses a list  to keep track of all of the # required information. 

 

Here's the data that you will load into your list: Frank, pizza, 10, Mary, wings, 8, Bob, cookies, 15, Lisa, dip, 20, Mark, brownies, 12, Ann, burgers, 7, Henry, mints, 30, Ruth, hotdogs, 22 

After entering the data, answer the following questions: 

How many people will be bringing  food? 

What foods will be there? 

How many people can be fed if Ruth cancels?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Initialize the list to store party information partyinfo Frank pizza 10 Mary wings 8 Bob cookies 15 ... View full answer

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 Programming Questions!