Book Image

Python Projects for Kids

By : Jessica Ingrassellino
Book Image

Python Projects for Kids

By: Jessica Ingrassellino

Overview of this book

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 (18 chapters)
Python Projects for Kids
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

A quick task for you


Now that you have finished this chapter, can you answer these questions?

Q1. What is a terminal (Mac/Linux) or command prompt (Windows)?

  1. A terminal is used to put data into or get data out of a computer without using the icons on the desktop.

  2. A terminal can be used to write computer programs.

  3. A terminal can be used to do complex work, such as giving hints on Python code.

  4. A terminal can do all of the above.

Q2. When you first open the terminal/command prompt, what do you need to do so that you can start reading and writing the Python code?

  1. Start typing the code.

  2. Type the word python.

  3. Wait for Python to start.

  4. None of the above; do something different.

Q3. How is the Python shell different from the command line?

  1. They are exactly the same.

  2. The command line cannot run Python commands.

  3. The Python shell is started by typing the word python into the command line.

  4. The Python shell can be used to test lines of Python code.

Note

Compare your answers with those you find at the back of the book.