[Tutor] bug in exam score conversion program

Kent Johnson kent37 at tds.net
Sat Oct 4 18:59:07 CEST 2008


On Sat, Oct 4, 2008 at 9:45 AM, Alan Gauld <alan.gauld at btinternet.com> wrote:

> It's not too bad but I would probably use a dictionary rather
> than the list - which avoids the index problem

Not sure how the dict is better - in either case, leaving off the
grade corresponding to a score of 100 will raise an exception.

Kent


More information about the Tutor mailing list