The Python Workbook
after payment (24/7)
(for all gadgets)
(including for Apple and Android)
I believe that computer programming is a skill that is best learned through hands-onexperience. While it is valuable for you to read about programming in textbooksand watch teachers create programs at the front of classrooms, it is even moreimportant for you to spend time-solving problems that allow you to put programmingconcepts into practice. With this in mind, the majority of the pages in thisbook are dedicated to exercises and their solutions while only a few pages are usedto briefly introduce the concepts needed to complete them.This book contains 186 exercises that span a variety of academic disciplines andeveryday situations. They can be solved using only the material covered in mostintroductory Python programming courses. Each exercise that you complete willstrengthen your understanding of the Python programming language and enhanceyour ability to tackle subsequent programming challenges. I also hope that theconnections that these exercises make to other academic disciplines and everydaylife will maintain your interest as you complete them.Solutions to approximately half of the exercises are provided in the second halfof this book. Most of the solutions include brief annotations that explain thetechnique used to solve the problem or highlight a specific point of Python syntax.You will find these annotations in shaded boxes, making it easy to distinguish themfrom the solution itself.I hope that you will take the time to compare each of your solutions with mine,even when you arrive at your solution without encountering any problems. Performingthis comparison may reveal a flaw in your program, or help you becomemore familiar with a technique that you could have used to solve the problem moreeasily. In some cases, it could also reveal that you have discovered a faster or easierway to solve the problem than I have. If you become stuck on an exercise, a quickpeek at my solution may help you work through your problem and continue tomake progress without requiring assistance from someone else. Finally, the solutionsthat I have provided demonstrate good programming style, including appropriatecomments, meaningful variable names, and minimal use of magic numbers.I encourage you to use good programming style when creating your solutions sothat they compute the correct result while also being clear, easy to understand, andamenable to being updated in the future.
Data sheet
- Language
- English