Python Weird Exponential Increase In Running Time When Using

Python Weird Exponential Increase In Running Time When Using