IT 117: Intermediate Scripting
Class 8

Today's Topics


New Material

Homework 4

I have posted homework 4 here.

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


Expressions in a Boolean Context

A Function to Open Files

Keys Are Immutable

Values in a Dictionary

Dictionary Methods

The clear method

The get Method

The pop Method

The popitem Method

The items Method

The keys Method

The values Method

New Material

Sets in Mathematics

Set Membership

Subsets and Supersets

Union of Sets

Intersection of Sets

Difference between Sets

Symmetric Difference between Sets

Sets in Python

Creating a Set in Python

Running set with an Argument

Set Literals

Adding Elements to a Set

Removing Elements from a Set