INDEX 247
Point,65, 82
Polygon,79, 83
Rectangle, 82
Text, 83
GraphWin,64, 81
methodssummary, 81
Gregorianepact, 39
GUI, 64
hailstonefunction, 140
haltingproblem, 246
happy, 89
happy birthday
lyrics, 88
problemdescription, 88
program, 90
happy.py, 90
harddrive, 3
hardware, 2
hasharray, 199
hierarchychart,148,seestructurechart
house, 86
house(ofrepresentatives), 120
identifier
definitionof, 15
rulesforforming, 15
Idle, 7
if statement
flowchart, 105
semantics, 105
syntax, 105
if-elif-elsestatement
semantics, 111
syntax, 111
if-elsestatement
decisiontree, 116
nested,110, 116
semantics, 109
syntax, 108
Image, 83
implementation, 13
importstatement,30, 106
with“from”, 64
indefiniteloop, 124
indexing
dictionary, 200
fromtheright, 52
list,185, 187
negative indexes, 52
string, 42
infiniteloop,125, 136
inheritance, 229
input, 9
validation, 135
inputstatement, 18
multiplevalues, 20
semantics, 18
syntax, 18
Input/OutputDevices, 3
instance,66, 161
instancevariable,67, 161
accessing, 168
andobjectstate, 168
int, 28
automaticconversiontofloat, 36
conversiontofloat, 37
literal, 28
rangeof, 34
representaiton, 34
integerdivision, 29
interface, 148
interpreter, 4
diagram, 5
Python, 5
vs.compiler, 5
intractableproblems,2, 246
investmentdoubling, 140
IPO(Input,Process,Output), 14
iteration, 20
key
cipher, 51
private, 51
public, 51
withdictionary, 199
key-valuepair, 199
KeyError, 201
label, 72
ladder, 39
leapyear, 120
left-justification, 54
len
withlist,185, 188
withstring, 43
lexicographicordering, 105
library
definitionof, 29
graphics,seegraphicslibrary
math,seemathlibrary
random,seerandomlibrary
string,seestringlibrary
lightning, 39
Line, 82
linecontinuation
usingbackslash(
), 55
usingbrackets, 191