0
No.1
Name2
Type 13
Type 24
Total strength5
HP6
Attack7
Defense8
Special Attack9
Special Defense10
Speed11
Generation12
Legendary?
Note that, in each case, there may be more than one type of Pokemon with the highest average value computed. You should print out information about each of them according to the output format given below. Matching the queries entered by the user's with the User query column shown above should be case-insensitive. For example, the user inputs Attack, attack, ATTACK, and AtTaCk should all be processed the same way.
User query Program action Total Compute the Pokemon type(s) that have highest average Total strength. HP Compute the Pokemon type(s) that have highest average HP. Attack Compute the Pokemon type(s) that have highest average Attack. Defense Compute the Pokemon type(s) that have highest average Defense. SpecialAttack Compute the Pokemon type(s) that have highest average Special Attack. SpecialDefense Compute the Pokemon type(s) that have highest average Special Defense. Speed Compute the Pokemon type(s) that have highest average Speed.
(empty line)Terminate query processing anything else Ignore the query
print("{}: {}".format(pokemon_type, max_average))where pokemon_type is the type of Pokemon, and max_average is the average value computed for that Pokemon type for that query (e.g., average total, average HP, average Attack, etc.), which should be equal to the maximum value for that query across all types. If more than one Pokemon type has the same maximum average for a property, then print each one out, one per line, in alphabetical order of the Pokemon type.