Snake Wrangling for Kids - Learning to Program with Python 3, win-v0.7.7 (2007).pdf
(
1380 KB
)
Pobierz
Snake Wrangling for Kids - Learning to Program with Python
Snake Wrangling for Kids, Learning to Program with Python
by Jason R. Briggs
Version 0.7.7
Copyright
c
2007.
Published by... ah, no one actually.
Cover art and illustrations by Nuthapitol C.
Website:
http://www.briggs.net.nz/log/writing/snake-wrangling-for-kids
Thanks To:
Guido van Rossum (for benevelont dictatorship of the Python language), the mem-
bers of the
Edu-Sig
mailing list (for helpful advice and commentary), author
David Brin
(the original
instigator
of this book), Michel Weinachter (for providing better quality
versions of the illustrations), and various people for providing feedback and errata,
including: Paulo J. S. Silva, Tom Pohl, Janet Lathan, Martin Schimmels, and Mike
Cariaso (among others). Anyone left o this list, who shouldn’t have been, is en-
tirely due to premature senility on the part of the author.
License:
This work is licensed under the Creative Commons Attribution-Noncommercial-
Share Alike 3.0 New Zealand License. To view a copy of this license, visit
http://creativecommons.org/licenses/by-nc-sa/3.0/nz/
or send a letter to Creative
Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
Below is a summary of the license.
You are free:
•to Share to copy, distribute and transmit the work
•to Remix to adapt the work
Under the following conditions:
Attribution. You must attribute the work in the manner specied by the author
or licensor (but not in any way that suggests that they endorse you or your
use of the work).
Noncommercial. You may not use this work for commercial purposes.
Share Alike. If you alter, transform, or build upon this work, you may distribute
the resulting work only under the same or similar license to this one.
For any reuse or distribution, you must make clear to others the license terms of
this work.
Any of the above conditions can be waived if you get permission from the copyright
holder.
Nothing in this license impairs or restricts the author’s moral rights.
Contents
Preface
v
1 Not all snakes will squish you
1
1.1 A Few Words About Language
. . . . . . . . . . . . . . . . . . . . . 2
1.2 The Order of Non-venomousConstricting Serpentes. . .
. . . . . . . . . 3
1.3 Your rst Python program
. . . . . . . . . . . . . . . . . . . . . . . . 4
1.4 Your Second Python program. . .the same again?
. . . . . . . . . . . . 6
2 8 multiplied by 3.57 equals. . .
9
2.1 Use of brackets and “Order of Operations”
. . . . . . . . . . . . . . . 11
2.2 There’s nothing so ckle as a variable
. . . . . . . . . . . . . . . . . . 13
2.3 Using Variable
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.4 A Piece of String?
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.5 Tricks with Strings
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.6 Not quite a shopping list
. . . . . . . . . . . . . . . . . . . . . . . . . 19
2.7 Tuples and Lists
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2.8 Things to try
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3 Turtles, and other slow moving creatures
25
3.1 Things to try
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4 How to ask a question
33
4.1 Do this. . . or ELSE!!!
. . . . . . . . . . . . . . . . . . . . . . . . . . . 34
i
Plik z chomika:
Pinus000
Inne pliki z tego folderu:
A Byte of Python, v1.20 (for Python 2.x) (2005).pdf
(337 KB)
A Byte of Python, v1.92 (for Python 3.0) (2009).pdf
(608 KB)
A Learner's Guide to Programming Using the Python Language (2009).pdf
(17233 KB)
A Primer on Scientific Programming with Python (2009).pdf
(6983 KB)
Beginning Game Development with Python and Pygame - From Novice to Professional (2007).pdf
(7814 KB)
Inne foldery tego chomika:
-- ▣▣▣ ELEKTRONIKA ▣▣ ▬▬▬▬▬▬▬▬▬▬▬▬▬
Pliki dostępne do 01.06.2025
Pliki dostępne do 08.07.2024
Pliki dostępne do 19.01.2025
►Kurs Java
Zgłoś jeśli
naruszono regulamin