Introduction to Programming Week 7


The summary is short again this week, because all of the new content is in the pages on tuples and dictionaries.

Part 1: Tuples

See the page on tuples.

Part 2: Dictionaries

See the page on dictionaries.

Part 3: Wordplay

In class we worked on a program that searches through a file of words. For details see the class transcript.

One significant new technique we used was passing functions as parameters to other functions. This is a nice feature of Python that is only possible because Python supports first class functions.

See Also