IT 117: Intermediate Scripting
Class 6

Today's Topics

Review


New Material

Reading Assignment

In Chapter 9, Dictionaries and Sets, from our textbook, Starting Out with Python, you should read section 9.2, Sets, before next Tuesday's class.

Homework 3

I have posted homework 3 here.

It is due this coming Sunday at 11:59 PM.

First Graded Quiz

The first graded quiz will be given next week.

The questions from the graded quiz are taken from the ungraded quizzes of the previous week.

Review

Sequences

Dictionaries

Dictionary Literals

Getting Values from a Dictionary

Changing a Dictionary Value

Dictionaries Are Not Sequences

Looping Through a Dictionary

Tuples As Dictionary Values

When To Use a Dictionary

New Material

Working with Lists

Adding Elements to a Dictionary

Lists versus Dictionaries

The in And not in Operators

Deleting Elements from A Dictionary

Getting the Number of Elements in a Dictionary

Sorting Dictionary Keys

Attendance

Class Exercise 6