Re: [Tutor] Coin Toss Problems

2010-10-01 Thread Erik H.
On Fri, Oct 01, 2010 at 02:49:33 -0500, Colleen Glaeser wrote: > > > First, write a function that simulates flipping a coin. This function needs > no parameters. When called, it should return either “HEADS” or “TAILS”. > Those > are strings. That’s *return*, not print. Looks good, though I

Re: [Tutor] Accessing columns of a CSV file

2010-11-17 Thread Erik H.
Also notice that in time_list you use %H:%M format, while in your rows the format is %H:%M:%S. Simple string comparison won't work, unless you add those seconds to your time_list. Regards, Erik On Wed, Nov 17, 2010 at 2:59 PM, Hanlie Pretorius wrote: > Hi, > > I'm reading a CSV file and I want