Question: Python 3 w/ PyCharm - Starter file: https://pastebin.com/rPcaHdgi Question 5(5 points) Purpose: To practice solving a problem by calling multiple functions: to practice passing data
Python 3 w/ PyCharm
-
Starter file: https://pastebin.com/rPcaHdgi


Question 5(5 points) Purpose: To practice solving a problem by calling multiple functions: to practice passing data results be- tween functions Degree of Difficulty Easy fyou did everything right so far Now its time to put all your functions together to print out a summary report of how many and what types of pokemon you can find on each continent In the main part of your program, write code that will print to the console the name of each continent, the TOTAL number of different pokemon that can be found on that continent, followed by the counts for each pokemon type on that continent For example, the format for your output might look something like this Africa: 48 total pokemon ground': 3, fire':1, fairy': 1. 'vater':9, 'ghost'2, 'fighting':4 flying:3, 'dragon': 1, electric': 2, 'grass':2,'normal': 4 poison':6,'paychic': 3 "rock': 4, bug: 3) South America: 55 total pokemon ground': 5, fire':2, vater':10, fighting': 2,flying:4 dragon':1. electric':5,'grass': 4, 'nornal':3 poison':8 bug':6,rock': 2, paychic': 3) There will be more continents, but we're only showing two here to save space. To do this, you will need to make use of all of the functions you have written so far and make good use of their inputs and outputs If you've done everything correctly, this part of your program won't require a lot of code: just a few function calls and a single for-loop should be enough Question 5(5 points) Purpose: To practice solving a problem by calling multiple functions: to practice passing data results be- tween functions Degree of Difficulty Easy fyou did everything right so far Now its time to put all your functions together to print out a summary report of how many and what types of pokemon you can find on each continent In the main part of your program, write code that will print to the console the name of each continent, the TOTAL number of different pokemon that can be found on that continent, followed by the counts for each pokemon type on that continent For example, the format for your output might look something like this Africa: 48 total pokemon ground': 3, fire':1, fairy': 1. 'vater':9, 'ghost'2, 'fighting':4 flying:3, 'dragon': 1, electric': 2, 'grass':2,'normal': 4 poison':6,'paychic': 3 "rock': 4, bug: 3) South America: 55 total pokemon ground': 5, fire':2, vater':10, fighting': 2,flying:4 dragon':1. electric':5,'grass': 4, 'nornal':3 poison':8 bug':6,rock': 2, paychic': 3) There will be more continents, but we're only showing two here to save space. To do this, you will need to make use of all of the functions you have written so far and make good use of their inputs and outputs If you've done everything correctly, this part of your program won't require a lot of code: just a few function calls and a single for-loop should be enough
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
