In school I used to love to do math because not only could you solve a problem, you could solve it again and prove your answer. Math has a tangible success. You do it and receive instant gratification. Coding is much the same. I actually got to code this morning! And I produced results! And the client is happy.
Now onto more difficult, less quickly solved problems.