Question: in python please* with explanation [2] Description: Uncle Joe likes to go on fishing trips for several days. He would like to keep a record

in python please* with explanation [2] Description: Uncle Joe likes to goin python please* with explanation

[2] Description: Uncle Joe likes to go on fishing trips for several days. He would like to keep a record of the catches of his trips so that he can use data science later to find the best fishing spot for various kinds of fish. Your job is to write a simple program so he can keep a record of his catches of four types of fish. A list of four names of fish is available for your use. fish_species = ["salmon", "trout", "bass", "catfish"] Here is what your code needs to do: - Use a while loop to collect data for multiple days in a trip. We don't know the exact number of days in a trip. Uncle Joe is not predictable. So you will have to ask the user whether he wants to continue with an additional day of record. Get this part done first. - For each iteration through the while-loop, the program will ask about his catch of each type of fish. This is where you will need an inner loop to collect four integer numbers. The code should compute the total number of catches on that day. - There is no need to keep the number of fish of each type because we are not ready to use a list or an array. But you should produce a total number of catches on this trip by adding all the daily catch totals. Your code should be about 20 lines (just a suggestion) long. Restriction: Do not write four input statements. You must use a for-loop to prompt the user for the four counts. Some effort is required to construct the string in the input() function. See the sample output. [3] Output: A sample output is given below. Remember, it should work for all possible cases. The TA will run your program to see if it works properly. Fishing Log for Day 1: Number of salmon caught: 1 Number of trout caught: 2 Number of bass caught: 3 Number of catfish caught: 4 Number of fish caught on Day 1: 10

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!