Class 9 – Monday, September 11
Build on the shoulders of giants
Look out my window – And see random acts of grace – By everyone
Look both ways
Agenda
- Introduce the random module
- Introduce the
for
loop
- Introduce lists
Examples
- Program thats_so_random.py
- Introduce some helpful functions from the random module
- Program again_and_again.py
- Prints out 128 lines of the phrase
'again and again'
.
- Program listing.py
- Introduces list manipulation.
Instructor completed examples
- Program ready_or_not.py
- Prints out the integers 1 to
n
for user-specifiedn
; afterwards, prints out the phrase'Ready or not here I come!
- Program in_summation.py
- Prints the sum of a user-supplied list of numbers
To do list
- Review class artifacts
- Read the list epistle
- Review part 1 of the class
- See me this week if you an issue regarding Test 1 on September 29.
Hometown memorium
Paul Andrew Acquaviva | David Meyer |
Grace Alegre-Cua | Damian Meehan |
Anthony DiOnisio | Craig Montano |
Brendan Dolan | Timothy Finnerty |
Richard Morgan | Daniel Van Laere |
Joseph Francis Holland |