Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

IN PYTHON: A local zoo wants to keep track of how many pounds of food each of its three monkeys eats each day during a

IN PYTHON: A local zoo wants to keep track of how many pounds of food each of its three monkeys eats each day during a typical week. Write a program that stores this information in a two-dimensional 3 x 7 array, where each row represents a different monkey and each column represents a different day of the week. The program should first have the user input the data for each monkey. Then it should create a report that includes the following information:

a) Average amount of food eaten per day by the whole family of monkeys

b) The least amount of food eaten during the week by any one monkey

c) The greatest amount of food eaten during the week by any one monkey

Be sure to also show the food eaten each day.

Input validation: Do not accept negative numbers for pounds of food eaten.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

From Zero To Data Hero With Chatgpt

Authors: Andrew Wu

1st Edition

B0CQRJPXD9, 979-8989523009

More Books

Students also viewed these Databases questions

Question

What is stopping you from moving forward?

Answered: 1 week ago

Question

(4) C (U + 2102), the set of complex numbers; and Pg45

Answered: 1 week ago