Jump to ratings and reviews
Rate this book

The Python Workbook: A Brief Introduction with Exercises and Solutions

Rate this book
This student-friendly textbook encourages the development of programming skills through active practice by focusing on exercises that support hands-on learning. The Python Workbook provides a compendium of 186 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 a specific point of Python syntax.

This enhanced new edition has been thoroughly updated and expanded with additional exercises, along with concise introductions that outline the core concepts needed to solve them. The exercises and solutions require no prior background knowledge, 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 encourage the development of programming skills using if statements, loops, basic functions, lists, dictionaries, files, and recursive functions.





Undergraduate students enrolled in 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.

300 pages, Kindle Edition

Published July 5, 2019

About the author

Ben Stephenson

9 books5 followers
Ben Stephenson is the author of the novel A Matter of Life and Death or Something (Douglas & McIntyre, 2012). It prompted CBC Books to name him one of ten "Canadian Writers to Watch."

His work has appeared in The Puritan, EVENT, Joyland, King Skateboard Magazine, Best Canadian Stories, and other places. He participated in writing residencies at the Tatamagouche Centre and the Banff Centre. His visual art, including sculpture and installation, has been exhibited in various galleries, and he is the creator of the microGALLERY, a literal hole-in-the-wall artist-run center, located in the space left behind by a missing brick in one of NSCAD University's walls.

He grew up in New Brunswick, earned a Bachelor of Fine Arts from NSCAD University, and an MFA from the University of British Columbia.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
0 (0%)
4 stars
0 (0%)
3 stars
0 (0%)
2 stars
0 (0%)
1 star
0 (0%)
No one has reviewed this book yet.

Can't find what you're looking for?

Get help and learn more about the design.