This is the code I wrote for the exercise in book full-speed-python during the time when I learned python.
The solutions are divided according to chapters in 'my-code' folder.
You can download the book full-speed-python in: https://github.com/joaoventura/full-speed-python