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 120: 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 two-level dictionaries (i.e., a dictionary of dictionaries). The data, as it happens, is aboutPokemon(source:www.kaggle.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 1for this assignment), then repeatedly read in queries from the user and print out solutions to those queries.
Restrictions
1. For the long problems, your code should follow thestyle guidelinesfor the class.
2. You may not use concepts and/or short-hand syntax not yet covered in class. The restrictions include the following:
* sets
* dictionary comprehensions or list comprehensions, e.g.,[n *2 for i in range(10)]
* with open (explicitly open and close the file instead)
* the ternary operator (use an if instead)
* recursion
* exceptions (try/except)
* type annotations
* lambda expressions
* importing libraries (unless a library is explicitly mentioned in the specification)If you don't know what any of these are, don't worry, because you can't use them accidentally.
CSc 1 2 0 : Pokemon data analysis Introduction

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 Programming Questions!