Skip to main content Skip to search Skip to search

Computers General

The Python Workbook

A Brief Introduction with Exercises and Solutions

by (author) Ben Stephenson

Springer Nature
Initial publish date
Jul 2019
General, Intelligence (AI) & Semantics
  • Hardback

    Publish Date
    Jul 2019
    List Price

Add it to your shelf

Where to buy it


While other textbooks devote their pages to explaining introductory programming concepts,The Python Workbookfocuses 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.


Features: 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.

About the author

A flourishing member of the Halifax literary scene, Ben Stephenson's short stories have appeared in The Coast and the anthology Rememberer. He has completed writing residencies at the Tatamagouche Centre and the Banff Centre. His visual art, including sculpture and installation, has been exhibited in various galleries. Some of his own artwork illustrates A Matter of Life and Death or Something. Stephenson grew up in New Brunswick and has lived on both coasts of Canada. He continues to live in Halifax, Nova Scotia.

Ben Stephenson's profile page

Other titles by Ben Stephenson