Think Python: How to Think Like a Computer Scientist

(singke) #1
Objects and Values

Aliasing

List    Arguments

Debugging

Glossary

Exercises


  1. Dictionaries


A   Dictionary  Is  a   Mapping

Dictionary  as  a   Collection  of  Counters

Looping and Dictionaries

Reverse Lookup

Dictionaries    and Lists

Memos

Global  Variables

Debugging

Glossary

Exercises


  1. Tuples


Tuples  Are Immutable

Tuple   Assignment

Tuples  as  Return  Values

Variable-Length Argument    Tuples

Lists   and Tuples

Dictionaries    and Tuples

Sequences   of  Sequences
Free download pdf