From Curiosity to Code is for beginners who want to think like a programmer.
This beginner-friendly Python book introduces programming in a different way, focusing on how to think, not just what to type.
Instead of memorizing syntax, you'll learn by building a game:
- starting with something small
- enhancing it
- watching it break
- fixing it
- and making it better
You will see how a program improves through small steps, growing through meaningful iterations.
Along the way, you'll learn:
- how to write your first program
- how to make a program think
- how to repeat program logic
- how to handle unexpected input
- how to improve and refine your code
- how to think through problems like a programmer
- how to apply real-world programming practices
- how to use an AI assistant to help you code
This is not a reference manual.
This is not a crash course in Python.
It's a guided experience.
Each chapter builds on the last, helping you develop confidence through small, meaningful improvements.
By the end, you won't just have a working program.
You'll understand how it works, and more importantly, how to approach the next problem.
Companion Site
This book includes a companion site where you can:
- follow the code as it evolves
- explore each chapter's program
- continue learning beyond the book
Visit:
codewithintention.github.io/from-curiosity-to-code
If you've ever been curious about programming but didn't know where to start, this book will help you take that first step.