Python While Loop Breaking After One Iteration Stack Overflow

Python While Loop Breaking After One Iteration Stack Overflow