Teach Your Kids To Code: A Parent-friendly Guide to Python Programming
Glossary Glossary Many of the terms you encounter in learning to code are everyday words that you already understand. Some terms ...
296 Glossary algorithm A set of steps for performing a task, like a recipe. animation The illusion of motion created when simila ...
Glossary 297 element A single item in a list or array. event An activity that a computer can detect, like a mouse click, value c ...
298 Glossary module A file or set of files with related variables, functions, and classes that can be reused in other programs. ...
Glossary 299 transparency In graphics, the ability to see through portions of an image. variable In a computer program, a named ...
...
Note: Page numbers followed by f, n, or t indicate figures, notes, and tables, respectively. Symbols += (addition and assignment ...
302 INDEX C Caesar cipher, 95, 95f callback functions, 158 calling functions, defined, 144 canvas size, determining, 113–114 Car ...
INDEX 303 draw_kaleido() function, 168–169, 171 draw_smiley() function, 146, 150–151, 166 draw_spiral() function, 169–171 draw_s ...
304 INDEX height_cm variable, 156 height_in variable, 156 "Hello, world!" program, 5 hideturtle() function, 152 HighCard.py prog ...
INDEX 305 modules. See also names of specific modules building, 290–291 defined, 298 reusing, 292–293 using, 291–292 modulo (mod ...
306 INDEX Pygame, continued surfaces, 178 turtle graphics vs., 180–181, 214 update() function, 220 pygame.draw module, 179, 183 ...
INDEX 307 set_mode() function, 178, 192, 197 setpos() function, 112, 148–150, 158–160, 163, 166 setx() function, 70 sety() funct ...
308 INDEX turtle module, continued forward() function, 142–143 listen() function, 162 numinput() function, 47, 59–60, 69 onkeypr ...
U PDATES Visit http://www.nostarch.com/teachkids/ for updates, errata, program files for the projects and programming challenges ...
«
8
9
10
11
12
13
14
15
16
17
»
Free download pdf