Intro
Programming
with
Python

Spring 2018
course
site

March 26

I hope you all had a good break.

We're about here :

in the 2016 notes, i.e. "practice" and "son of practice".

But we missed some of the conditional stuff because of the snow storm before break.

We should go over (as you like)

We're heading towards "simulation and design" in the text, chapter 9.

Over the next class or two we'll write a simulation of the game of craps : https://en.wikipedia.org/wiki/Craps , which should at least let us find the odds of winning.

in class

We looked at two programs: truthtable.py (my solution to one of the previous homework assignments) and palindrome.py (a new thing that we started and will finish Wednesday).

https://cs.marlboro.college /cours /spring2018 /python /notes /mar26
last modified Fri March 29 2024 10:12 am

attachments [paper clip]

  last modified size
TXT palindrome.py Fri Mar 29 2024 10:12 am 848B
TXT truthtable.py Fri Mar 29 2024 10:12 am 847B