Maggie wrote:
code practice:

test = open ("test.txt", "r")
readData = test.readlines()
#set up a sum
sum = 0;

Hi Maggie,

I see you have already gotten a lot of useful help.
One additional suggestion would be to use a different
variable name other than 'sum' as sum is a Python
built-in function.

Cheers,
Esmail

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to