IT 116: Introduction to Scripting
Class 10

Today's Topics

Review


New Material

Reading Assignment

You should read Chapter 5, Functions, from our textbook, Starting Out with Python, before next week's class.

Homework 5

I have posted homework 5 here.

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

Review

Loops

while Loops

Infinite Loops

Data Validation

Data Validation Loops

Compound Statements

New Material

The for Loop in Python

for Loops in Other Languages

for Loops

The range Function

Setting the First and Last Values with range

Changing the Increment with range

Reversing the range Values

Why Does Python Have the range function?

for Loops that Don't Use the Loop Value

Nested Loops

Attendance