Python Projects for Kids

Unleash Python and take your small readers on an adventurous ride through the world of programming
Preview in Mapt

Python Projects for Kids

Jessica Ingrassellino

1 customer reviews
Unleash Python and take your small readers on an adventurous ride through the world of programming
Mapt Subscription
FREE
$29.99/m after trial
eBook
$19.60
RRP $27.99
Save 29%
Print + eBook
$34.99
RRP $34.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$19.60
$34.99
$29.99p/m after trial
RRP $27.99
RRP $34.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Python Projects for Kids Book Cover
Python Projects for Kids
$ 27.99
$ 19.60
JavaScript Projects for Kids Book Cover
JavaScript Projects for Kids
$ 19.99
$ 14.00
Buy 2 for $31.50
Save $16.48
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781782175063
Paperback192 pages

Book Description

Kids are always the most fast-paced and enthusiastic learners, and are naturally willing to build stuff that looks like magic at the end (when it works!). Programming can be one such magic. Being able to write a program that works helps them feel they've really achieved something. Kids today are very tech-savvy and cannot wait to enter the fast-paced digital world.

Because Python is one of the most popular languages and has a syntax that is quite simple to understand, even kids are eager to use it as a stepping stone to learning programming languages.

This book will cover projects that are simple and fun, and teach kids how to write Python code that works.

The book will teach the basics of Python programming, installation, and so on and then will move on to projects. A total of three projects, with each and every step explained carefully, without any assumption of previous experience.

Table of Contents

Chapter 1: Welcome! Let's Get Started
Python projects for you
The prerequisites of Python
Write and run your first program in the command line
Make yourself a work folder
A quick task for you
Summary
Chapter 2: Variables, Functions, and Users
Variables
Functions
Users interacting with your program
Using the text editor and the command line
Build your own function – name()
Going the extra mile
A quick task for you
Summary
Chapter 3: Calculate This!
The calculator
Basic functions
Operations on two numbers
New functions – subtraction, multiplication, and division
Finding a remainder – modulo
Running your program
A quick task for you
Summary
Chapter 4: Making Decisions – Python Control Flows
Is it equal, not equal, or something else?
Conditional statements – if, elif, else
Loops
A quick task for you
Summary
Chapter 5: Loops and Logic
Higher or Lower
A quick task for you
Summary
Chapter 6: Working with Data – Lists and Dictionaries
Lists
Dictionaries
List or dictionary
A quick task for you
Summary
Chapter 7: What's in Your Backpack?
Setting up our coding environment
Planning to program your game
Skills needed to make a program
Score, play again, or quit?
Getting and storing player information
Adding items to the virtual backpack
Limiting items in a virtual backpack
Testing your code so far
A game loop
Bringing back the while loop
Comparing guesses with backpack items
Keeping score
Ending the game
Testing your game
A quick task for you
Summary
Chapter 8: pygame
What is pygame?
Installing pygame
pygame
A quick task for you
Summary
Chapter 9: Tiny Tennis
Introduction to game programming principles
The game plan
Creating an outline of game parts
Section 1 – imports, globals, and drawings
Initializing the score
Testing section 1
Section 2 – moving the paddles
The increase and decrease value (-= and +=)
Testing section 2
Section 3 – moving the ball
Testing – section 3
Section 4 – draw screen and track the score
Ending the program
Play Tiny Tennis!
Summary
Chapter 10: Keep Coding!
What we learned and your next steps
Classes and objects – very important next steps!
More fun with games
Adding music to games
Adding graphics to games
Remake or design games
Other games
Other uses of Python
Coding challenges
Summary

What You Will Learn

  • Start fiddling with Python's variables, build functions and interact with users
  • Build your own calculator using the Math Library
  • Train Python to make logical decisions
  • Work with moving 2D objects on-screen
  • Understand the Pygame Library and build your very own game!
  • Write a cool program to manage inventories in your backpack

Authors

Table of Contents

Chapter 1: Welcome! Let's Get Started
Python projects for you
The prerequisites of Python
Write and run your first program in the command line
Make yourself a work folder
A quick task for you
Summary
Chapter 2: Variables, Functions, and Users
Variables
Functions
Users interacting with your program
Using the text editor and the command line
Build your own function – name()
Going the extra mile
A quick task for you
Summary
Chapter 3: Calculate This!
The calculator
Basic functions
Operations on two numbers
New functions – subtraction, multiplication, and division
Finding a remainder – modulo
Running your program
A quick task for you
Summary
Chapter 4: Making Decisions – Python Control Flows
Is it equal, not equal, or something else?
Conditional statements – if, elif, else
Loops
A quick task for you
Summary
Chapter 5: Loops and Logic
Higher or Lower
A quick task for you
Summary
Chapter 6: Working with Data – Lists and Dictionaries
Lists
Dictionaries
List or dictionary
A quick task for you
Summary
Chapter 7: What's in Your Backpack?
Setting up our coding environment
Planning to program your game
Skills needed to make a program
Score, play again, or quit?
Getting and storing player information
Adding items to the virtual backpack
Limiting items in a virtual backpack
Testing your code so far
A game loop
Bringing back the while loop
Comparing guesses with backpack items
Keeping score
Ending the game
Testing your game
A quick task for you
Summary
Chapter 8: pygame
What is pygame?
Installing pygame
pygame
A quick task for you
Summary
Chapter 9: Tiny Tennis
Introduction to game programming principles
The game plan
Creating an outline of game parts
Section 1 – imports, globals, and drawings
Initializing the score
Testing section 1
Section 2 – moving the paddles
The increase and decrease value (-= and +=)
Testing section 2
Section 3 – moving the ball
Testing – section 3
Section 4 – draw screen and track the score
Ending the program
Play Tiny Tennis!
Summary
Chapter 10: Keep Coding!
What we learned and your next steps
Classes and objects – very important next steps!
More fun with games
Adding music to games
Adding graphics to games
Remake or design games
Other games
Other uses of Python
Coding challenges
Summary

Book Details

ISBN 139781782175063
Paperback192 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Expert Python Programming - Second Edition Book Cover
Expert Python Programming - Second Edition
$ 35.99
$ 25.20
Python Machine Learning Book Cover
Python Machine Learning
$ 35.99
$ 25.20
Practical Data Science Cookbook Book Cover
Practical Data Science Cookbook
$ 29.99
$ 21.00
Practical Machine Learning Book Cover
Practical Machine Learning
$ 37.99
$ 26.60
Python for Secret Agents Book Cover
Python for Secret Agents
$ 16.99
$ 3.40
Advanced Tools and Techniques Beyond Base R [Video] Book Cover
Advanced Tools and Techniques Beyond Base R [Video]
$ 124.99
$ 106.25