[Tutor] Hay Variables
Jeremiah Stack
nnolie at gmail.com
Fri Sep 12 20:08:44 CEST 2008
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 to just add another variable and have the Number of classes
variable change automatically.
So NumberOfClasses = (Number variables).
Hope that makes sense and without user keyboard input
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20080912/08a1faa0/attachment.htm>
More information about the Tutor
mailing list