Practice makes perfection (Python).
I figured if I wanted to get good at programming, I had to practice it A LOT. With that in mind I spend my last few weeks.
The first thing I did was a very basic test on w3schools. To see if my basis was solid. w3schools by the way is a really great site!
After that I moved on to more complex exercises. Project Euler has some hard mathemetical problems which I really enjoyed doing. One of the exercises I worked on is in the image below. All the exercises are on my github.
But by far the most time i spend was working on exercises from practicepython.org. The cool thing is that this website just tell you what they want from the code and then you get to figure out how to write it yourself. There was a lot of trial and error involved, which in my opinion the best way to learn something (if you have the time). It greatly improved my understanding and creativity in Python.
I instead made a code that takes all headlines from nu.nl and saves it to a text file with the exact date and time.
During these exercises I practiced working with strings, lists, functions, dictionaries, libraries, Boolean operators, opening and writing files, requesting web pages, searching and manipulating data and so much more. Some of my first codes I wrote are kind of sloppy. Later on I worked on writing codes as clean and dynamic as possible. There is still a lot of room for improvement, but I think I'm definitely on the right track.
The largest and most complex exercise was to make my own tic-tac-toe game (copy and paste it here) this is 80+ lines code with 5 functions working fluidly together. All the exercises can be found on my github.