City Zoo Separates Animals According Weight Locations Based Weight Cutoffs Pounds Shown Ta Q37051792

The city zoo separates their animals according to weight. Thelocations are based on the weight cutoffs (in pounds) shown in thetable below.

Weight

Location

200 or above

Jumbo Jungle

Less than 200

Mid-Meadows

Write a python code that reads animal RFID (integer),Name (string) and Weight (integer) from a file until theEOF(loops) is reached. The program will find the largest andsmallest animal and calculate the average of each category. .(hint: you will need a set of variables for each category.

Output screen:

xehU8Z4DPVcAAAAASUVORK5CYII=


Solution


Here is the completed code for this problem. Commentsare included, go through it, learn how things work and let me knowif you have any

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.