Post date: Sep 15, 2011 7:18:49 PM
Announcements
New D2L Quiz and CodingBat homework linked on Homework page
Homework
Read Section 5.1, 5.2, and 5.3, pages 121..130
Complete Chapter 5 Quiz on D2L (due 10:00pm Monday)
Complete the CodingBat-1 Homework (due 10:00pm Monday)
Lecture Outline
Finish Defining Functions
Convert the buggy maxOf3 int a function and test it
with print function calls
with assertions--like the Optional tests for function incomeTax(taxableIncome)in Project 2 Decisions
Boolean operators not and or:
not True | False
not False | True
False and False | False
True and False | False
True and True | True
True or False | True
False or False | False
3 > 2 and 'Chris' == 'Chris'
The String type a.k.a <class 'str'>
type('ab') [ ] len str [:]
Consider CodingBat 1 Homework
Quiz 2: Decisions