IT 116: Introduction to Scripting
Class 24

Tips and Examples


Review


New Material


Microphone

Homework 11

I have posted homework 11 here.

This is the last homework assignment.

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

Quiz 9

Let's look at the answers to Quiz 9 .

Questions

Are there any questions before I begin?

Tips and Examples

Don't Use Indexes to Print a List

Review

Operators That Work on Objects

Concatenating Lists

The Repetition Operator

Indexing

Changing Elements Using Indexes

Slices

Leaving Out Indexes in a Slice

Skipping Elements in a Slice

The in Operator

List Methods

The append Method

The pop Method

The sort Method

The reverse Method

The del Statement

The min and max Functions

Attendance

New Material

Time for Computer Operations

Reading a File into a List

Advantages of Using Lists with Files

Problems with Copying Objects

Copying Lists

Functions That Return Lists

Functions That Return Objects

Functions That Work with Lists

Functions That Change Lists

Intellectual Property

Class Exercise

Class Quiz