I guess this is homework so I will keep my comments fairly general.

You have a lot of tests on count. Are they all needed?
The code might be clearer if tuition was a positive number.
newPrincipal and newTuition could have better names
I don't think you need so many variables, balance, newBalance and
principal all represent the same thing.

Kent

On Sat, Feb 7, 2009 at 11:02 PM,  <cclpia...@comcast.net> wrote:
> Forget the first, this is the corrected version.
>
> Thanks,
>
> Pat
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to