INDEX 251
round, 37
scientificnotation, 35
scope, 92
screenresolution, 72
script, 7
search, 231
searching
binarysearch, 232
linearsearch, 232
problemdescription, 231
recursive formulation, 237
seed, 145
selectionsort,seesorting,selectionsort
self, 167
selSort, 238
semantics, 4
senate, 120
sentinel, 127
sentinelloop, 127
sequenceoperators, 185
setArrow, 82
setBackground, 81
setCoords,75, 81
example, 76
setFace, 83
setFill, 82
setOutline, 82
sets, 206
setSize, 83
setStyle, 83
setText, 83
setWidth, 82
shellgame, 179
shuffle, 206
Sieve ofEratosthenes, 206
signature, 148
simNGames, 150
simOneGame, 152
simpledecision, 105
simplestatistics, 205
problem, 184
program, 189
SimStats, 210
simulation, 143
simultaneousassignment, 19
inforloop, 196
withmultiplereturnvalues, 97
singFred, 89
singLucy, 89
slicing
list, 187
string, 43
slopeofline, 39
snowman, 85
software, 2
softwaredevelopment, 13
phases
design, 13
implementation, 13
maintenance, 13
requirements, 13
specifications, 13
testing/debugging, 13
sort, 203
sorting, 234
mergesort
algorithm, 240
analysis, 241
implementation, 240
selectionsort
algorithm, 238
analysis, 241
implementation, 238
space
betweenprogramlines, 24
blanklineinoutput,94, 108
inexpressions, 16
inprompts, 18
specifications, 13
speedingfine, 120
sphere,38, 180
surfaceareaformula, 38
volumeformula, 38
split, 48
sqrt, 30
squarefunction, 95
squareroot, 40
standarddeviation, 184
statement, 6
statements
assignment,10,17–20
break, 136
class, 167
comment, 9
def(functiondefinition),6, 88
for, 21, 123
from..import, 64
if, 105
if-elif-else, 111
if-else, 108
import, 30
input,9, 18
multipleinput, 20
print,6, 16–17
return, 95
simultaneousassignment, 19
try-except, 113