To learn programming you need projects. The following should keep you busy for a while
Project Euler – ” Project Euler exists to encourage, challenge, and develop the skills and enjoyment of anyone with an interest in the fascinating world of mathematics. ” Works with any language.
Rosalind – ” Rosalind is a platform for learning bioinformatics and programming through problem solving. “
Kaggle – “Kaggle is the place to do data science projects”. You can even enter competitions.