... or maybe a dict of class[class-name]=grade
On Fri, Sep 12, 2008 at 10:42 PM, Kent Johnson <[EMAIL PROTECTED]> wrote:
> On Fri, Sep 12, 2008 at 2:13 PM,
> <[EMAIL PROTECTED]> wrote:
> >
> > I would use a list of grades and the length of the list.
>
> or perhaps a list of (class name, grade) pa
On Fri, Sep 12, 2008 at 2:13 PM,
<[EMAIL PROTECTED]> wrote:
>
> I would use a list of grades and the length of the list.
or perhaps a list of (class name, grade) pairs.
Kent
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo
I would use a list of grades and the length of the list.
Chris
"Jeremiah Stack" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
09/12/2008 02:08 PM
To
"Python Tutor"
cc
Subject
[Tutor] Hay Variables
Sorry,
Okay,
Say i want to calculate the average for
Sorry,
Okay,
Say i want to calculate the average for Math = 91 Science = 97 and English =
96,
I Declare a variable = Number of classes to divide by.
So instead say later I want to add another class.
Instead of adding a variable And changing the (Number of Classes = 3)
variable.
I would like t