Question: CSc 1 2 0 : Pokemon data analysis Introduction This problem involves some simple data analysis and aims to give you some more practice with
CSc : Pokemon data analysis
Introduction
This problem involves some simple data analysis and aims to give you some more practice with combining Python data structures in interesting ways: in this case, using twolevel dictionaries ie a dictionary of dictionaries The data, as it happens, is aboutPokemonsource:wwwkaggle.com You are to write a program to read in Pokemon data from a file and organize it according to Pokemon type we will only considerType for this assignment then repeatedly read in queries from the user and print out solutions to those queries.
Restrictions
For the long problems, your code should follow thestyle guidelinesfor the class.
You may not use concepts andor shorthand syntax not yet covered in class. The restrictions include the following:
sets
dictionary comprehensions or list comprehensions, egn for i in range
with open explicitly open and close the file instead
the ternary operator use an if instead
recursion
exceptions tryexcept
type annotations
lambda expressions
importing libraries unless a library is explicitly mentioned in the specificationIf you don't know what any of these are, don't worry, because you can't use them accidentally.
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
