Question: Back in 2 0 1 6 , an augmented reality mobile game called Pokemon Go gained a lot of attention. Though the game is credited
Back in an augmented reality mobile game called Pokemon Go gained a lot of attention. Though the game is credited with good use of locationbased AR it also faced massive criticism. As the popularity of the game decreased gradually over time, the parent company Nintendo, the Pokemon Company, and Niantic are planning to hire professionals across different divisions who can help them popularize this game again. This problem is a possible test in the hiring process to see how excited a job candidate is about Pokemons.
You are given a CSV file called "pokemon.csv downloadable from here. The file contains information about pokemons' names, types, attack powers, speed values, and capture rates in the game. The beginning of the file looks as follows:
name,type,attack,speed,capturerate
Bulbasaur,grass,
Ivysaur,grass,
Venusaur,grass,
Charmander,fire,
You have to write a function called findPokemonInfo to find information about a particular pokemon from the file. Your function will take one string parameter called name and return a dictionary with information about that pokemon. The function definition will look as follows:
def findPokemonInfoname:
For example, if we call this function as findPokemonInfoBulbasaur it should return the following dictionary:
attack:
capturerate:
name: Bulbasaur
speed:
type: grass
use python
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
