Le Fri, 27 Feb 2009 00:06:59 -0500, David <da...@abbottdavid.com> s'exprima ainsi:
> Hi Everyone, > I go through the archived [Tutor] mail list to find programs others have > tried to do. I found one that would keep track of a petty cash fund. > please point out my misunderstanding. > Here is what I started with; > <code> [...] > </code> > > results; > The current date is: 02/27/09 > balance = 100.0 > withdraw = None > deposit = None > > expected results; > The current date is: 02/27/09 > balance = 100.0 > withdraw = 50.0 > deposit = 100.0 > > thanks, > -david So, what is your question, actually? If you do not want None, replace it with 0.0. None is good as a flag value. Denis ------ la vita e estrany _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor