in your while loop (starti ng line 49) you have multiple for loops. you iterate over
Player
which is list (and probably plural would be better name). you have for player in Player:
, however in the loops you work with Player
(i.e. list), not player
(instance of class Person). So check lines 52, 55, 60, 67, 76, and so on all the way to the end... you get the problem
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs