program 4 pokedex

Assignment

  • Using pokedex.py as a starting point, supply the missing functions such that interaction with a user could produce this transcript.

Grading – 100 points

  • 20 points. The class Pokemon is defined (2 points) with the appropriate six methods (3 points each).
  • 5 points. The function print_menu is correct.
  • 10 points. The function print_pokedex is correct.
  • 10 points. The function lookup_by_name is correct when the Pokémon is present (7 points) and absent (3 points).
  • 10 points. The function lookup_by_number is correct when the number is present (7 points) and absent (3 points).
  • 10 points. The function total_by_type is correct when the type is present (7 points) and absent (3 points).
  • 10 points. The function average_hit_points is correct.
  • 10 points. The format of the output matches the format of the output in the transcript exactly. (2 points for each type of difference up to 10 points.)
  • 15 points – The Python solution is properly commented, easy to understand and does not contain unnecessary code. (3 points for each type of improvement up to 15 points.)
 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
Looking for a Similar Assignment? Our Experts can help. Use the coupon code SAVE30 to get your first order at 30% off!