๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

Python workbook - a brief introduction with exercises and solutions

โœ Scribed by Stephenson, Ben


Publisher
Springer International Publish
Year
2015
Tongue
English
Leaves
169
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


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.

โœฆ Table of Contents


Preface......Page 6
Contents......Page 8
Part IExercises......Page 16
Exercise 33: Day Old Bread......Page 17
Exercise 43: Faces on Money......Page 28
Exercise 60: Roulette Payouts......Page 32
Exercise 71: Square Root......Page 41
Exercise 75: Greatest Common Divisor......Page 45
Exercise 78: Decimal to Binary......Page 47
Exercise 80: Coin Flip Simulation......Page 48
Exercise 103: Magic Dates......Page 51
Exercise 123: Infix to Postfix......Page 60
Exercise 124: Evaluate Postfix......Page 68
Exercise 127: The Sieve of Eratosthenes......Page 69
6.1 Exercise 128: Reverse Lookup......Page 72
6.3 Exercise 130: Text Messaging......Page 73
6.4 Exercise 131: Morse Code......Page 74
6.5 Exercise 132: Postal Codes......Page 75
6.9 Exercise 136: Anagrams Again......Page 76
6.11 Exercise 138: Create a Bingo Card......Page 77
6.13 Exercise 140: Play Bingo......Page 78
Exercise 163: Words with Six Vowels in Order......Page 79
Exercise 165: Greatest Common Divisor......Page 89
Exercise 169: String Edit Distance......Page 90
Exercise 174: Run-Length Encoding......Page 92
Part IISolutions......Page 95
Solution to Exercise 33: Day Old Bread......Page 96
Solution to Exercise 60: Roulette Payouts......Page 105
Solution to Exercise 79: Maximum Integer......Page 115
Solution to Exercise 103: Magic Dates......Page 122
Solution to Exercise 127: The Sieve of Eratosthenes......Page 134
Solution to Exercise 138: Create a Bingo Card......Page 145
Solution to Exercise 161: Missing Comments......Page 151
Solution to Exercise 174: Run-Length Encoding......Page 162
Index......Page 167

โœฆ Subjects


Computer Science;Programming


๐Ÿ“œ SIMILAR VOLUMES


The Python Workbook: A Brief Introductio
โœ Ben Stephenson ๐Ÿ“‚ Library ๐Ÿ“… 2019-08 ๐Ÿ› Springer ๐ŸŒ English

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 t

The Python Workbook: A Brief Introductio
โœ Ben Stephenson ๐Ÿ“‚ Library ๐Ÿ“… 2019 ๐Ÿ› Springer International Publishing ๐ŸŒ English

<p><p>This student-friendly textbook encourages the development of programming skills through active practice by focusing on exercises that support hands-on learning. <i>The Python Workbook</i> provides a compendium of 186 exercises, spanning a variety of academic disciplines and everyday situations

The Python Workbook: A Brief Introductio
โœ Ben Stephenson ๐Ÿ“‚ Library ๐Ÿ“… 2015 ๐Ÿ› Springer ๐ŸŒ English

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 learn

The Python Workbook: A Brief Introductio
โœ Ben Stephenson (auth.) ๐Ÿ“‚ Library ๐Ÿ“… 2014 ๐Ÿ› Springer International Publishing ๐ŸŒ English

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 learn

The Python Workbook: A Brief Introductio
โœ Ben Stephenson ๐Ÿ“‚ Library ๐Ÿ“… 2014 ๐Ÿ› Springer ๐ŸŒ English

While other textbooks devote their pages to explaining introductory programming concepts, <i>The Python Workbook</i> 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-o

The Python Workbook: A Brief Introductio
โœ Ben Stephenson ๐Ÿ“‚ Library ๐Ÿ“… 2015 ๐Ÿ› Springer-Nature New York Inc ๐ŸŒ English

While other textbooks devote their pages to explaining introductory programming concepts, <i>The Python Workbook</i> 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-o