Python for Kids: A Playful Introduction to Programming

  • 3h 39m
  • Jason R. Briggs
  • No Starch Press
  • 2013

Python is a powerful, expressive programming language that’s easy to learn and fun to use! But books about learning to program in Python can be kind of dull, gray, and boring, and that’s no fun for anyone.

Python for Kids brings Python to life and brings you (and your parents) into the world of programming. The ever-patient Jason R. Briggs will guide you through the basics as you experiment with unique (and often hilarious) example programs that feature ravenous monsters, secret agents, thieving ravens, and more. New terms are defined; code is colored, dissected, and explained; and quirky, full-color illustrations keep things on the lighter side.

Chapters end with programming puzzles designed to stretch your brain and strengthen your understanding. By the end of the book you’ll have programmed two complete games: a clone of the famous Pong and "Mr. Stick Man Races for the Exit"—a platform game with jumps, animation, and much more.

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

  • Use fundamental data structures like lists, tuples, and maps
  • 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.

For kids ages 10+ (and their parents)

The code in this book runs on almost anything: Windows, Mac, Linux, even an OLPC laptop or Raspberry Pi!

About the Author

Jason R Briggs grew up in Hawke's Bay, on the east coast of New Zealand, but for the last 17 years has divided his time between NZ, Thailand and England.

Which is entirely far too much time spent strapped inside a glorified tin can with wings.

In this Book

  • Introduction
  • Not All Snakes Slither
  • Calculations and Variables
  • Strings, Lists, Tuples, and Maps
  • Drawing with Turtles
  • Asking Questions with If and Else
  • Going Loopy
  • Recycling Your Code with Functions and Modules
  • How to Use Classes and Objects
  • Python's Built-in Functions
  • Useful Python Modules
  • More Turtle Graphics
  • Using Tkinter for Better Graphics
  • Beginning Your First Game—Bounce!
  • Finishing Your First Game—Bounce!
  • Creating Graphics for the Mr. Stick Man Game
  • Developing the Mr. Stick Man Game
  • Creating Mr. Stick Man
  • Completing the Mr. Stick Man Game
  • Afterword—Where to Go from Here
  • Glossary
SHOW MORE
FREE ACCESS

YOU MIGHT ALSO LIKE

Rating 5.0 of 1 users Rating 5.0 of 1 users (1)