The Python Workbook: A Brief Introduction with Exercises and Solutions
Python is a very popular and very powerful modern programing language. In terms of its syntax and style it might be one of the “cleanest” programming languages out there. Yet, its deceptively simple code often belies the underlining power and efficiency. In terms of professional development, knowledge of Python is right now probably one of the most sought out technical skills. Learning Python is very learning for many technical professions, and this small books is a very useful resource to have for exactly such purpose.
The best way to learn any new skill is to do a lot of exercises and solve a lot of problems. This workbook provides 174 relatively straightforward excises that cover most important programming topics. The exercises are dived into eight different sections, such as “Loop Exercises,” “Dictionary Exercises,” “Recursion Exercises,” etc. The statement of the exercises/problems is very clear and well explained, and it’s usually covered in one or two paragraphs. The exercises also state if they are solved or not, and how long in terms of lines of program the solutions are.
As is to be expected from an workbook of this kind, many of the exercises come with a solution that is provided at the back of the book. The solutions are very to the point and concise, with a minimal amount of comments and explanations. Comments are given in the form of commented-out lines of code, while the short explanations are given on the side in grey boxed areas. All the code is properly and cleanly formatted. It is also color coded, which is a nice bonus and greatly helps with readability.
The content and the difficulty level of this book are both very accessible. The book is suitable for a gentle introductory college level course, or even a solid high school intro to programming course. None of the exercises require more than a few dozen lines of code to implement, and thus are not too demanding on your time and effort. A book like this one might in fact be ideal for someone aiming to learn programming or Python on his own. It can also be a very good supplementary material for an online course, which is in fact how I have been mostly using it. After a few weeks of going through these exercises I find that my Python fluency has greatly increased, and I am able to think in Pythonese and code much more efficiently. The book is a great resource for acquiring the basic coding fluency, but for more advanced programming skills you will need a more substantial reference.
There are no comments yet, add one below.