Page 243 - thinkpython
P. 243
Index 221
suffix, 131 Turing Thesis, 55
suit, 171 Turing, Alan, 55
sum, 185 turtle module, 48
sum function, 118 turtle typewriter, 37
superstitious debugging, 200 type, 4, 7
swap pattern, 116 bool, 40
syntax, 5, 7, 13, 162, 194 dict, 103
syntax error, 13, 14, 193 file, 137
SyntaxError, 19 float, 4
function, 20
temporary variable, 51, 60, 199 int, 4
test case, minimal, 198 list, 89
testing NoneType, 24
and absence of bugs, 87 programmer-defined, 147, 153, 155, 162,
incremental development, 52 165, 173
is hard, 87 set, 130
knowing the answer, 53 str, 4
leap of faith, 57 tuple, 115
minimal test case, 198 type checking, 58
text type conversion, 17
plain, 83, 125 type function, 153
random, 131 type-based dispatch, 166, 167, 169
text file, 145 TypeError, 72, 74, 108, 116, 118, 139, 164, 197
Time class, 155 typewriter, turtle, 37
time module, 101 typographical error, 134
token, 5, 7
traceback, 24, 26, 44, 46, 107, 196 UnboundLocalError, 110
translate method, 125 underscore character, 10
traversal, 72, 75, 77, 79, 85, 93, 100, 105, 106, uniqueness, 101
119, 127 Unix command
dictionary, 168 ls, 142
list, 91 update, 64, 67, 69
traverse database, 141
dictionary, 120 global variable, 110
triangle, 48 histogram, 127
trigonometric function, 18 item, 91
triple-quoted string, 35 slice, 92
True special value, 40 update method, 120
try statement, 140, 153 update operator, 93
tuple, 115, 117, 121, 122 use before def, 20
as key in dictionary, 120, 132
assignment, 116 value, 4, 7, 95, 96, 112
comparison, 116, 174 default, 129
in brackets, 120 tuple, 117
singleton, 115 ValueError, 46, 117
slice, 116 values method, 104
tuple assignment, 117, 119, 122 variable, 9, 14
tuple function, 115 global, 110
tuple methods, 204 local, 22
Turing complete language, 55 temporary, 51, 60, 199