Question: In this task you are required to write a Python function that provides counts of each species. This requires one function, speciesCounts ( ) ,
In this task you are required to write a Python function that provides counts of each species. This requires one function, speciesCounts that counts each unique plant species and returns the species name with its total prevalence count. For example, for a list containing the following items note that these examples are not plant species but these must be plant species in your list: AACBCCFG AB GBEE ACDABG the output of speciesCounts would contain: Species Counts A C B F G E D You may choose to modify the order in which the plants are listed, and the appearance of how the results are presented, but each unique species and its total count must be displayed. In your program you may define other auxiliary functions with arbitrary names, however, the solution function of this task should be named speciesCounts You must also document your algorithm pseudocode for your solution.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
