Re: [Edu-sig] Topics for CS2

2009-02-05 Thread Scott David Daniels
Scott David Daniels wrote: Scott David Daniels wrote: I wrote: In PythonOOP.doc (page 4) you say: There are two pieces of magic that make line 3 work. First, the interpreter has to find the method set_vars. It's not in cat2. Then, the instance cat2 has to be inserted as the first

[Edu-sig] probability simulation

2009-02-05 Thread michel paul
We began a unit in math called 'Probability and Simulation'. The students of course have to solve many typical problems involving dice and coins. This provided a perfect opportunity for incorporating Python in a way that didn't freak the kids out. Remember, I have been trying to weave Python