Python for Kids: A Playful Introduction to Programming by Jason R. Briggs

By Jason R. Briggs

ISBN: 1593274076
EAN: 9781593274078
ASIN: 1593274076
Publisher: No Starch Press
Publication Date: 2012-12-22
Number of Pages: 344

For teenagers elderly 10+ (And Their Parents)

The code during this booklet runs on nearly something: home windows, Mac, Linux, even an OLPC machine or Raspberry Pi!

Python is a robust, expressive programming language that's effortless to profit and enjoyable to take advantage of! yet books approximately studying to software in Python could be type of uninteresting, grey, and uninteresting, and that's no enjoyable for anyone.

Python for children brings Python to existence and brings you (and your mom and dad) into the area of programming. The ever-patient Jason R. Briggs will consultant you thru the fundamentals as you test with designated (and frequently hilarious) instance courses that function starving monsters, mystery brokers, thieving ravens, and extra. New phrases are outlined; code is coloured, dissected, and defined; and quirky, full-color illustrations hold issues at the lighter side.

Chapters finish with programming puzzles designed to stretch your mind and develop your realizing. via the top of the booklet you'll have programmed entire video games: a the image of the well-known Pong and "Mr. Stick guy Races for the Exit"-a platform video game with jumps, animation, and masses more.

As you strike out in your programming event, you'll find out how to:

Use primary facts buildings like lists, tuples, and maps
Organize and reuse your code with services and modules
Use keep watch over buildings like loops and conditional statements
Draw shapes and styles with Python's turtle module
Create video games, animations, and different graphical wonders with tkinter

Why may still severe adults have the entire enjoyable? Python for children is your price tag into the superb international of computing device programming.

Show description

Read or Download Python for Kids: A Playful Introduction to Programming PDF

Best python books

Fundamentals of Python: From First Programs through Data Structures

In basics OF PYTHON: FROM FIRST courses via information constructions, Washington and Lee collage professor Kenneth A. Lambert offers the entire vital themes in CS1 and CS2 in a single quantity. This least expensive layout offers teachers with a constant method of educating introductory programming and information constructions over a customary two-term path series.

Python for Data Analysis: Data Wrangling with Pandas, NumPy, and IPython

Python for facts research is worried with the nuts and bolts of manipulating, processing, cleansing, and crunching information in Python. it's also a pragmatic, smooth creation to medical computing in Python, adapted for data-intensive purposes. this can be a e-book concerning the components of the Python language and libraries you'll have to successfully remedy a extensive set of knowledge research difficulties.

Python and AWS

If you happen to intend to take advantage of Amazon net companies (AWS) for distant computing and garage, Python is a perfect programming language for constructing functions and controlling your cloud-based infrastructure. This cookbook will get you began with greater than dozen recipes for utilizing Python with AWS, in keeping with the author’s boto library.

Artificial Intelligence with Python

Construct real-world synthetic Intelligence purposes with Python to intelligently have interaction with the realm round you approximately This ebook Step into the superb international of clever apps utilizing this complete advisor input the area of synthetic Intelligence, discover it, and create your personal purposes paintings via basic but insightful examples that would get you up and operating with man made Intelligence very quickly Who This e-book Is For This ebook is for Python builders who are looking to construct real-world synthetic Intelligence purposes.

Extra info for Python for Kids: A Playful Introduction to Programming

Example text

For example, in the following equation, the numbers 30 and 20 are multiplied first, and the number 5 is added to their product. ” The result is 605. We can change the order of operations by adding parentheses around the first two numbers, like so: >>> (5 + 30) * 20 700 The result of this equation is 700 (not 605) because the parentheses tell Python to do the operation in the parentheses first, and then do the operation outside the parentheses. 0 In this case, Python evaluates the innermost parentheses first, then the outer ones, and then the final division operator.

For example, to create a variable named fred, we use an equal sign (=) and then tell Python what information the variable should be the label for. Here, we create the variable fred and tell Python that it labels the number 100 (note that this doesn’t mean that another variable can’t have the same value): >>> fred = 100 To find out what value a variable labels, enter print in the shell, followed by the variable name in parentheses, like this: >>> print(fred) 100 Calculations and Variables 19 We can also tell Python to change the variable fred so that it labels something else.

Dmg), double-click it. You’ll see a window showing the file’s contents. mpkg, and then follow the instructions to install the software. You’ll be prompted for the administrator password for your Mac before Python installs. (Don’t have the administrator password? ) Next, you need to add a script to the desktop for launching Python’s IDLE application, as follows: 1. Click the Spotlight icon, the small magnifying glass at the top-right corner of the screen. 2. In the box that appears, enter Automator.

Download PDF sample

Rated 4.77 of 5 – based on 47 votes