Select delivery location
Have one to sell?

The Python Workbook: A Brief Introduction with Exercises and Solutions Hardcover – 4 February 2015

4.5 out of 5 stars 10 ratings

Amazon Price
New from Used from

There is a newer edition of this item:

Product description


“The book is suitable for a gentle introductory college level course, or even a solid high school intro to programming course. … 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 … . The book is a great resource for acquiring the basic coding fluency … .” (Bojan Tunguz,, February, 2015)

“The book provides you with 174 exercises, which can make you an advanced beginner … in Python. The excersises are well-structured indeed, taking into account anything from the basics of the language (printing, units, conditionals, loops and functions) to some more advanced structures as dictionaries, lists and working with files. … The excersises are well selected indeed. I liked them and I enjoyed solving (or looking at their solutions) them.” (Vitosh Academy,, February, 2015)

From the Back Cover

While other textbooks devote their pages to explaining introductory programming concepts, The Python Workbook focuses exclusively on exercises, following the philosophy that computer programming is a skill best learned through experience and practice.

Designed to support and encourage hands-on learning about programming, this student-friendly work contains 174 exercises, spanning a variety of academic disciplines and everyday situations. Solutions to selected exercises are also provided, supported by brief annotations that explain the technique used to solve the problem, or highlight specific points of Python syntax. No background knowledge is required to solve the exercises, beyond the material covered in a typical introductory Python programming course.


  • Uses an accessible writing style and easy-to-follow structure
  • Includes a mixture of classic exercises from the fields of computer science and mathematics, along with exercises that connect to other academic disciplines
  • Presents the solutions to approximately half of the exercises
  • Provides annotations alongside the solutions, which explain the approach taken to solve the problem and relevant aspects of Python syntax
  • Offers a variety of exercises of different lengths and difficulties
  • Contains exercises that help the development of programming skills using if statements, loops, basic functions, lists, dictionaries, files, and recursive functions

Undergraduate students undergoing their first programming course and wishing to enhance their programming abilities will find the exercises and solutions provided in this book to be ideal for their needs.

Dr. Ben Stephenson is a Senior Instructor in the Department of Computer Science at the University of Calgary.

Product details

  • Language ‏ : ‎ English
  • Hardcover ‏ : ‎ 165 pages
  • ISBN-10 ‏ : ‎ 3319142399
  • ISBN-13 ‏ : ‎ 978-3319142395
  • Customer reviews:
    4.5 out of 5 stars 10 ratings

Customer reviews

4.5 out of 5 stars
4.5 out of 5
10 global ratings
5 star
4 star
3 star
2 star 0% (0%) 0%
1 star 0% (0%) 0%

Review this product

Share your thoughts with other customers

Top reviews from Singapore

There are 0 reviews and 0 ratings from Singapore

Top reviews from other countries

Elaine Shine
5.0 out of 5 stars Excellent resource
Reviewed in the United Kingdom 🇬🇧 on 3 February 2019
Verified Purchase
Patrick Tremblay
5.0 out of 5 stars Just Exercises, Exactly What I Wanted
Reviewed in Canada 🇨🇦 on 27 May 2018
Verified Purchase
5.0 out of 5 stars Great for anyone interested in learning how to code.
Reviewed in Canada 🇨🇦 on 8 November 2019
Verified Purchase
Fair-weather Psych. Student
3.0 out of 5 stars A fine book if you already know and fully understand the ...
Reviewed in the United States 🇺🇸 on 23 May 2015
Verified Purchase
8 people found this helpful
Report abuse
3.0 out of 5 stars Three Stars
Reviewed in the United States 🇺🇸 on 19 October 2015
Verified Purchase
2 people found this helpful
Report abuse