
The Python Workbook
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
The Python Workbook is a student-friendly compendium of 212 exercises that span a variety of academic disciplines and everyday situations paired with concise introductions to the programming concepts needed to complete them. Accessible and easy to follow, the textbook encourages development of programming skills through active practice and hands-on learning.
Thoroughly updated and expanded, this strong revised edition includes new sections on debugging, additional exercises in all chapters, and extensive revisions that reflect current practice, increase clarity, and ease comprehension. The exercises and solutions require no prior background knowledge, beyond the material covered in a typical introductory Python course.
Topics and features:
- 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, explaining the approach taken to solve the problem and relevant aspects of Python syntax
- contains exercises that encourage the development of programming skills using if statements, loops, functions, lists, dictionaries, files, and recursion
- examines common errors and how to correct them
- offers a variety of exercises of different lengths and difficulties
Undergraduate students enrolled in their first programming course will find this book ideal for their needs. Their programming and debugging skills will be enhanced by reading its chapters, completing its exercises, and studying the provided solutions.
More details
Other editions
Additional editions

Person
Dr. Ben Stephenson is a Teaching Professor in the Department of Computer Science at the University of Calgary, Canada. Recipient of the 2023 CS-CAN | INFO-CAN Excellence in Teaching Award, he also completed a two-year term as SIGCSE Technical Symposium Co-Chair. He also has authored the successful Springer textbook Fundamentals of Discrete Math for Computer Science .
Content
1. Introduction to Programming.- 2. Decision Making.- 3. Repetition.- 4. Functions.- 5. Lists.- 6. Dictionaries.- 7. Files and Exceptions.- 8. Recursion.
System requirements
File format: PDF
Copy protection: Watermark-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Use the free software Adobe Reader, Adobe Digital Editions, or any other PDF viewer of your choice (see eBook Help).
- Tablet/Smartphone (Android; iOS): Install the free app Adobe Digital Editions or another reading app for eBooks, e.g., PocketBook (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Watermark-DRM, a „soft” copy protection. This means that there are no technical restrictions to prevent illegal distribution. However, there is a personalised watermark embedded in the eBook that can be used to identify the purchaser of the eBook in the event of misuse and to provide evidence for legal purposes.
For more information, see our eBook Help page.