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.
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.
"The book is suitable for a gentle introductory college level course, or even a solid high school intro to programming course. ... A book like this one might in fact be ideal for someone aiming to learn programming or Python on his own. It can also be a very good supplementary material for an online course ... . The book is a great resource for acquiring the basic coding fluency ... ." (Bojan Tunguz, tunguzreview.com, February, 2015)
"The book provides you with 174 exercises, which can make you an advanced beginner ... in Python. The excersises are well-structured indeed, taking into account anything from the basics of the language (printing, units, conditionals, loops and functions) to some more advanced structures as dictionaries, lists and working with files. ... The excersises are well selected indeed. I liked them and I enjoyed solving (or looking at their solutions) them." (Vitosh Academy, vitoshacademy.com, February, 2015)
"The book provides you with 174 exercises, which can make you an advanced beginner ... in Python. The excersises are well-structured indeed, taking into account anything from the basics of the language (printing, units, conditionals, loops and functions) to some more advanced structures as dictionaries, lists and working with files. ... The excersises are well selected indeed. I liked them and I enjoyed solving (or looking at their solutions) them." (Vitosh Academy, vitoshacademy.com, February, 2015)