CS106 Class Notes
Summer 2021 Semester

Michael Eckmann
Skidmore College

Friday July 23, 2021
file I/O, splitting strings, more dictionary functionality
blackjack.py (dealer vs. player)
fileio.py
countwords.py
Wednesday July 21, 2021
optional parameters/default values, else clause after loops, try/except/else/finally, continue statement, list comprehensions
optionalparameters.py
elseinloops.py
exceptioncode.py
Wednesday July 21, 2021
continued ...
continueexample.py
listcomp1.py
blackjack.py
Tuesday July 20, 2021
Math module, dictionaries
Monday July 19, 2021
recursion
factR.py
hanoi.py
fib.py
numoddsrecursive.py
summing.py
Friday July 16, 2021
searching and sorting
binarysearchprof.py
nestedloop.py
selectionsort.py
Thursday July 15, 2021
lab work, no lecture
Wednesday July 14, 2021
more programmer-defined functions
loopswithoutindices.py
weirdlistprocessing.py
lottery.py
Wednesday July 14, 2021
continued ...
containsfunctions.py
rolladie.py
randomepisode.py
Tuesday July 13, 2021
writing a variety of programmer-defined functions
topics-so-far.txt
newsalary.py
countwords.py (goes through all indicies)
Tuesday July 13, 2021
continued ...
numpositives.py (goes through all indicies)
numodds.py (goes through all indicies)
flip.py
Monday July 12, 2021
range object, exercises, programmer-defined functions
testrange.py
numstats.py
numstats1.py
numstatslist.py
Monday July 12, 2021
continued ...
productofodds.py
productofoddswhile.py
productuserinput.py
randfunction.py
largestof4.py
Friday July 9, 2021
str methods, lists, random choice, for loops, range object
strmethods1.py
listtesting.py
mixoftabsandspaces.py
Thursday July 8, 2021
Nested ifs, logical operators, reserved words and variable names, random number generation, while loops, str methods
nestedif.py
testand.py
testbool.py
Thursday July 8, 2021
continued ...
infiniteloop.py
guessgame1.py
guessgame2.py
Wednesday July 7, 2021
operators, if/elif/else
more assignment operators, function terminology
ifexample.py
projectedhomers.py
Tuesday July 6, 2021
Introduction, getting started with python, printing, variables, values, types, input
helloworld.py
hello.py
Tuesday July 6, 2021
continued ...
age.py
prog03.py
numstats.py