Intro to
Programming
with Python

Fall 2010
course
navigation

oct 21

THE LETTER I WISH I COULD WRITE TO MY FORMER SELF, AND HAVE BEAMED AT LIGHT-SPEED THROUGH SOME KIND OF VACUUM TUBE AND DELIVERED AT THE PRECISE MOMENT WHEN I FINALLY DECIDED TO LEARN TO PROGRAM.
Discuss midterm projects, and how they'll be graded. In particular, what's expected for documentation and sample input/output.
We talked about maintaining state, and gave a deck of cards as an example, using the attached state.py short pythong program.
Alex mentioned using this plotting package:
Review craps program from last class. I added average and standard deviation of result rather than just (max-min), and fixed the documentation to match what's expected for a midterm project. The modified code, including mean and standard deviation, is attached below.
With midterm projects in the works I don't want to start new material yet. So instead
http://cs.marlboro.edu/ courses/ fall2010/python/ notes/ oct_21
last modified Thursday October 21 2010 11:22 am EDT

attachments [paper clip]

     name last modified size
   craps.py Oct 20 2010 9:33 pm 5.51kB [TXT]craps_analysis.txt Oct 20 2010 9:33 pm 2.92kB    state.py Oct 21 2010 11:22 am 585B