Think Python: How to Think Like a Computer Scientist

(singke) #1

identical, Glossary


identity, Objects and Values, Copying


if statement, Conditional Execution


immutability, Strings Are Immutable, Strings Are Immutable, Glossary, Aliasing,


Dictionaries and Lists, Tuples Are Immutable, Sequences of Sequences


implementation, Dictionary as a Collection of Counters, Glossary, Data Structures,


Interface and Implementation


import statement, Glossary, Writing Modules


in operator, Analysis of Search Algorithms


in operator, The in Operator, Search, Lists Are Mutable, A Dictionary Is a Mapping


increment, Updating Variables, Glossary, Modifiers, Another Example


incremental development, Glossary, Syntax Errors


indentation, Adding New Functions, Printing Objects, Syntax Errors


index, A String Is a Sequence, A String Is a Sequence, Debugging, Glossary, Lists Are


Mutable, A Dictionary Is a Mapping, When I run the program I get an exception.


looping with,   Looping with    Indices,    Traversing  a   List

negative,   len

slice,  String  Slices, List    Slices

starting    at  zero,   A   String  Is  a   Sequence,   Lists   Are Mutable

IndexError, len, Debugging, Lists Are Mutable, When I run the program I get an


exception.


indexing, Analysis of Basic Python Operations


infinite loop, The while Statement, Glossary, My program hangs., Infinite loop


infinite recursion, Infinite Recursion, Glossary, Checking Types, My program hangs.,


Infinite recursion

Free download pdf