When I first started learning to program I used Project Euler. It is a series of challenging mathematical/computer programming problems that will require logical and mathematical insights to solve. Although mathematics will help you arrive at elegant and efficient methods, the use of a computer and programming skills will be required to solve most problems. The problems themselves are interesting, and they gradually increase in difficulty.
Be careful though - it can become quite addictive!
Here's the link: https://projecteuler.net