Question: Project function 6 : get _ stat _ total functions that will help us create that function. The get _ stat _ total function should
Project function : getstattotal
functions that will help us create that function.
The getstattotal function should return the stat total of a Pokemon. This is calculated as the sum of its Attack, Defense, HP Special Attack, Special Defense, and Speed stats.
Points possible:
: def getstattotalpkmn:
pass # TODO: replace with your code
: studentgrader.checkgetstattotal"
Make sure you saved the notebook before running this cell. Running check for getstattotal...
Errors:
Student code does not use: project.getattack
Student code does not use: project.getdefense
Student code does not use: project.getspecialattack
Student code does not use: project.getspecialdefense
Student code does not use: project.getspeed
Student code does not use: project.gethp
Test case failed: Output of getstattotal is not correct on example input
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
