Python Maximum Allowed Dimention Exceeded Stack Overflow

Python Maximum Allowed Dimention Exceeded Stack Overflow