The Python Workbook: A Brief Introduction with Exercises and Solutions

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

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

Author(s): Ben Stephenson
Series: Texts in Computer Science
Edition: 2
Publisher: Springer
Year: 2019-08

Language: English
Commentary: True PDF
Pages: 219
City: New York, NY
Tags: Programming; Python; Problem Solving; Entry Level; Teaching

Introduction to Programming.........Pages 3-22
Decision Making.........Pages 23-42
Repetition.........Pages 43-57
Functions.........Pages 59-73
Lists.........Pages 75-95
Dictionaries.........Pages 97-107
Files and Exceptions.........Pages 109-126
Recursion.........Pages 127-139
Solutions to the Introduction to Programming Exercises.........Pages 143-150
Solutions to the Decision Making Exercises.........Pages 151-160
Solutions to the Repetition Exercises.........Pages 161-167
Solutions to the Function Exercises.........Pages 169-181
Solutions to the List Exercises.........Pages 183-192
Solutions to the Dictionary Exercises.........Pages 193-197
Solutions to the File and Exception Exercises.........Pages 199-208
Solutions to the Recursion Exercises.........Pages 209-213