28 lines
651 B
Plaintext
28 lines
651 B
Plaintext
From: smoothasice at geocities.com (smoothasice at geocities.com)
|
|
Date: Thu, 29 Apr 1999 21:16:50 GMT
|
|
Subject: Errors
|
|
Message-ID: <3728CD26.907ED9A1@geocities.com>
|
|
X-UID: 735
|
|
|
|
Ok I have been using python and I have noticed that the errors aren't
|
|
truly helpful.. I don't know if I just didn't learn this properly but I
|
|
dont' know why this generates an error:
|
|
|
|
for word in All_Words:
|
|
z = 0
|
|
while z < len(word):
|
|
if z == 0:
|
|
tally = tally + alpha.index(word[z])
|
|
else:
|
|
tally = tally + (alpha.index(word[z]) * 26)
|
|
|
|
It gives me this: NameError: tally
|
|
and I don't know why......
|
|
|
|
THanks,
|
|
Anton
|
|
|
|
|
|
|
|
|