Python for Kids, 2nd Edition

A Playful Introduction to Programming

Look inside
Paperback
$34.99 US
On sale Nov 15, 2022 | 368 Pages | 9781718503021

See Additional Formats
The second edition of the best-selling Python for Kids—which brings you (and your parents) into the world of programming—has been completely updated to use the latest version of Python, along with tons of new projects!

Python is a powerful programming language that’s easy to learn and fun to use! But books about programming in Python can be dull and that’s no fun for anyone.

Python for Kids brings kids (and their parents) into the wonderful world of programming. Jason R. Briggs guides you through the basics, experimenting with unique (and hilarious) example programs featuring ravenous monsters, secret agents, thieving ravens, and more. New terms are defined; code is colored and explained; puzzles stretch the brain and strengthen understanding; and full-color illustrations keep you engaged throughout. 

By the end of the book, you’ll have programmed two games: a clone of the famous Pong, and “Mr. Stick Man Races for the Exit”—a platform game with jumps and animation.

This second edition is revised and updated to reflect Python 3 programming practices. There are new puzzles to inspire you and two new appendices to guide you through Python’s built-in modules and troubleshooting your code.

As you strike out on your programming adventure, you’ll learn how to:

  • Use fundamental data structures like lists, tuples, and dictionaries  
  • Organize and reuse your code with functions and modules
  • Use control structures like loops and conditional statements 
  • Draw shapes and patterns with Python’s turtle module
  • Create games, animations, and other graphical wonders with tkinter

Why should serious adults have all the fun? Python for Kids is your ticket into the amazing world of computer programming.

Covers Python 3.x which runs on Windows, macOS, Linux, even Raspberry Pi
Introduction
Part I: Learning to Program

Chapter 1: Not All Snakes Slither
Chapter 2: Calculations and Variables
Chapter 3: Strings, Lists, Tuples, and Dictionaries
Chapter 4: Drawing with Turtles
Chapter 5: Asking Questions with if and else
Chapter 6: Going Loopy
Chapter 7: Recycling Your Code with Functions and Modules
Chapter 8: How to Use Classes and Objects
Chapter 9: More Turtle Graphics
Chapter 10: Using tkinter for Better Graphics
Part II: Bounce
Chapter 11: Beginning Your First Game: Bounce!
Chapter 12: Finishing Your First Game: Bounce!
Part III: Mr. Stickman Races for the Exit
Chapter 13: Creating Graphics for the Mr. Stickman Game
Chapter 14: Developing the Mr. Stickman Game
Chapter 15: Creating Mr. Stickman
Chapter 16: Completing the Mr. Stickman Game
Afterword
Appendix A: Python Keywords
Appendix B: Python's Built-in Functions
Appendix C: Troubleshooting
Jason Briggs has been a programmer since the age of eight, when he first learned BASIC on a Radio Shack TRS-80. Since then he has written software professionally as a developer and systems architect and served as Contributing Editor for Java Developer's Journal. His articles have appeared in JavaWorld, ONJava and ONLamp.

About

The second edition of the best-selling Python for Kids—which brings you (and your parents) into the world of programming—has been completely updated to use the latest version of Python, along with tons of new projects!

Python is a powerful programming language that’s easy to learn and fun to use! But books about programming in Python can be dull and that’s no fun for anyone.

Python for Kids brings kids (and their parents) into the wonderful world of programming. Jason R. Briggs guides you through the basics, experimenting with unique (and hilarious) example programs featuring ravenous monsters, secret agents, thieving ravens, and more. New terms are defined; code is colored and explained; puzzles stretch the brain and strengthen understanding; and full-color illustrations keep you engaged throughout. 

By the end of the book, you’ll have programmed two games: a clone of the famous Pong, and “Mr. Stick Man Races for the Exit”—a platform game with jumps and animation.

This second edition is revised and updated to reflect Python 3 programming practices. There are new puzzles to inspire you and two new appendices to guide you through Python’s built-in modules and troubleshooting your code.

As you strike out on your programming adventure, you’ll learn how to:

  • Use fundamental data structures like lists, tuples, and dictionaries  
  • Organize and reuse your code with functions and modules
  • Use control structures like loops and conditional statements 
  • Draw shapes and patterns with Python’s turtle module
  • Create games, animations, and other graphical wonders with tkinter

Why should serious adults have all the fun? Python for Kids is your ticket into the amazing world of computer programming.

Covers Python 3.x which runs on Windows, macOS, Linux, even Raspberry Pi

Table of Contents

Introduction
Part I: Learning to Program

Chapter 1: Not All Snakes Slither
Chapter 2: Calculations and Variables
Chapter 3: Strings, Lists, Tuples, and Dictionaries
Chapter 4: Drawing with Turtles
Chapter 5: Asking Questions with if and else
Chapter 6: Going Loopy
Chapter 7: Recycling Your Code with Functions and Modules
Chapter 8: How to Use Classes and Objects
Chapter 9: More Turtle Graphics
Chapter 10: Using tkinter for Better Graphics
Part II: Bounce
Chapter 11: Beginning Your First Game: Bounce!
Chapter 12: Finishing Your First Game: Bounce!
Part III: Mr. Stickman Races for the Exit
Chapter 13: Creating Graphics for the Mr. Stickman Game
Chapter 14: Developing the Mr. Stickman Game
Chapter 15: Creating Mr. Stickman
Chapter 16: Completing the Mr. Stickman Game
Afterword
Appendix A: Python Keywords
Appendix B: Python's Built-in Functions
Appendix C: Troubleshooting

Author

Jason Briggs has been a programmer since the age of eight, when he first learned BASIC on a Radio Shack TRS-80. Since then he has written software professionally as a developer and systems architect and served as Contributing Editor for Java Developer's Journal. His articles have appeared in JavaWorld, ONJava and ONLamp.

Books for National Depression Education and Awareness Month

For National Depression Education and Awareness Month in October, we are sharing a collection of titles that educates and informs on depression, including personal stories from those who have experienced depression and topics that range from causes and symptoms of depression to how to develop coping mechanisms to battle depression.

Read more

Horror Titles for the Halloween Season

In celebration of the Halloween season, we are sharing horror books that are aligned with the themes of the holiday: the sometimes unknown and scary creatures and witches. From classic ghost stories and popular novels that are celebrated today, in literature courses and beyond, to contemporary stories about the monsters that hide in the dark, our list

Read more

Books for LGBTQIA+ History Month

For LGBTQIA+ History Month in October, we’re celebrating the shared history of individuals within the community and the importance of the activists who have fought for their rights and the rights of others. We acknowledge the varying and diverse experiences within the LGBTQIA+ community that have shaped history and have led the way for those

Read more