2 Answers
+ 7
There's basically just one way:
Practice solving problems by actually programming.
Pick tasks mildly challenging, but easy enough that you *will* eventually succeed.
And then gradually pick slightly harder tasks.
+ 3
The code coaches in sololearn are divided into 3 levels easy,medium and hard. Try to solve easiest one and then move to harder one. If you can not solve the task then again complete the lessons and do the exercise at the end of lessons.