do you guys help newbies??
Grant Edwards
grante at visi.com
Wed Nov 27 10:57:51 EST 2002
In article <r2c9uusgkvesmqout846rdge47bg5tui6d at 4ax.com>, malik m wrote:
> #initialize variables
> totalMilesDriven = 0 #total miles driven
>
> totalGallonsPerTank = 0 #total gallons per tank
>
> counter = 0 #bogus counter
Here's a style hint: Get rid of the comments above.
0) It's obvious you're initializing variables. No comment
required.
1) You picked good names for the variables, so the comments
describing the variables are just distractions.
--
Grant Edwards grante Yow! Were these parsnips
at CORRECTLY MARINATED in
visi.com TACO SAUCE?
More information about the Python-list
mailing list