On Jan 28, 3:07 pm, evilweasel <karthikramaswam... at gmail.com> wrote:
> Hi folks,
>
> I am a newbie to python, and I would be grateful if someone could
> point out the mistake in my program.
<snip>
> for j in range(0, b):
> if lister[j] == 0:
At a guess, this line should be:
if lister[j] == '0':
...
--
Mark