You need to take a computer science course , which will teach you how to think.
The Python exercises on codeacademy are there to strengthen your grasp of python syntax and practice for loops.
I recommend Udacity CS101 and/or edx 6.00x. Both are Intro to CS courses which use Python.