Learn Python by Building Things That Respond to You 🐍
Python Practice Lab is built around a simple, motivating idea: the best way to learn programming is to make programs that talk back. Angelica Lim and Victor Cheung introduce core computer science concepts through Python projects that behave like interactive chatbots, from greeting bots and horoscope generators to movie raters and image tools. The approach keeps the focus on real situations rather than abstract syntax drills.
Published by Princeton University Press, this workbook is designed for readers with no coding background, for students in introductory courses, and for teachers who need a structured but lively curriculum. It came out of an introduction to CS and programming course at Simon Fraser University and has been taught to more than a thousand students, including both majors and nonmajors.
Chatbots, Recommenders, and Image Tools
The chapters move through a clear progression. Early work covers basic input and output, loops, and chatbot logic. Later sections take on recommendation systems, turtle graphics, image processing, recursion, searching, sorting, and the map/filter/reduce style of working with data. The final chapter offers two larger expert projects: an audio-visual language-learning chatbot and an interactive image processor.
- Chatbots with personality, loops, and robust responses
- Recommendation systems using ratings, data files, and similarity scores
- Interactive drawings and computer vision with turtle graphics and image processing
- Recursion through drawing trees and revisited examples
- Searching, sorting, and big-data concepts
- Expert projects that combine multiple skills
A Course-Tested Structure
Each section includes learning outcomes, review questions, practice exercises, and a glossary, so readers can move from explanation to hands-on practice without losing the thread. The preface describes a curriculum designed around real-life situations and creative thinking, and the book introduces AI-related ideas such as recommendation systems, computer vision, and big data without assuming advanced mathematics or prior programming experience.
Who Will Get the Most from This Book
Beginners who want a friendly entry point into coding will find a steady path from first programs to meaningful projects. Students taking an introductory computer science course can use the exercises and review questions as a study companion. Educators may appreciate the ready-made sequence of topics, while self-taught learners can work through the labs at their own pace. If you have ever wanted to understand how chatbots, recommenders, or simple image filters actually work, this lab-style guide gives you a way to build them in Python.
Start Your Python Practice Lab
With its mix of playful projects, structured practice, and foundational computer science, Python Practice Lab turns coding practice into something you can see, test, and improve. It is a practical starting point for anyone ready to write Python and discover how interactive programs come together.
User Reviews
Only logged in customers who have purchased this product may leave a review.
Original price was: $5.00.$2.50Current price is: $2.50.

There are no reviews yet.