IT 116: Introduction to Scripting
Class 7

Today's Topics

Course Requirements


New Material

Reading Assignment

You should read Chapter 3, Decision Structures and Boolean Logic, from our textbook, Starting Out with Python, before next weeks's class.

Homework 3

I have posted homework 3 here.

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

Course Requirements

Collecting and Testing Assignments

Notifying You About Missing Work

Late Work


Escape Characters

Concatenation Operator

Concatenating Strings with Numbers

Printing Numbers

The format Function

Using format with Scientific Notation

Using format to Put Commas in Big Numbers

Specifying Minimum Length for a Number

Alignment with the format Function

Formating Percentages

New Material

Control Structures

if Statements

Boolean Expression

Relational Operators

Precedence of Relational Operators

if-else Statements

Indentation in the if-else Statement

Comparing Strings

Nested if Statements

Testing a Series of Conditions

if-elif-else Statements


Class Quiz