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
Step: 1
Initialize the list to store party information partyinfo Frank pizza 10 Mary wings 8 Bob cookies 15 ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get StartedRecommended Textbook for
Applying Communication Theory For Professional Life A Practical Introduction
Authors: Marianne Dainton, Elaine D. Zelley
4th Edition
150631547X, 978-1506315478
Students also viewed these Programming questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App