The Python Workbook: A Brief Introduction with Exercises and Solutions

Screen Shot 2015-02-24 at 4.45.49 PMPython 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.

 

Bojan Tunguz

Bojan Tunguz was born in Bosnia and Herzegovina, which he and his family fled during the civil war for the neighboring Croatia. Over the past two decades he has studied, lived and worked in the United States. He is a theoretical physicist with degrees from Stanford and University of Illinois. Tunguz has taught physics at several prominent liberal arts colleges and has been writing about physics, science and technology for more than a decade. He also has a wide spectrum of interests, and reads and writes about current events, society, culture, religion and politics. Over the years he has reviewed many of the books that he has read, and posted his reviews on various online outlets. In 2011 he had become a top 10 reviewer on Amazon.com, where he continues to be very active. Aside from reading and writing, Tunguz enjoys traveling, digital photography, hiking, and fitness. He resides with his wife in Indiana. You can follow my review updates on the following pages as well: Facebook: http://www.facebook.com/tunguzreview Twitter: http://www.twitter.com/tunguzreviews Google+: https://plus.google.com/u/0/104312842297641697463/posts

Visit Website

There are no comments yet, add one below.

Leave a Comment

Your email address will not be published. Required fields are marked *

*