Python Projects for Kids

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

Python Projects for Kids

By Example
Jessica Ingrassellino

1 customer reviews
Unleash Python and take your small readers on an adventurous ride through the world of programming
$27.99
$34.99
RRP $27.99
RRP $34.99
eBook
Print + eBook

Instantly access this course right now and get the skills you need in 2017

With unlimited access to a constantly growing library of over 4,000 eBooks and Videos, a subscription to Mapt gives you everything you need to learn new skills. Cancel anytime.

Preview in Mapt

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