On 21/08/12 06:12, Osemeka Osuagwu wrote:
right_product(row, col) for (row = 0, col = 18) I had anticipated this
and added the "if col>len(data[row])-3:" statement
But because of zero indexing you need this to be either:
if col >= len(data[row])-3:
or
if col > len(data[row])-4:
ie. if row
Dear Mark,
> I can't see a Python array anywhere. Do you mean the list of lists? :)
>
>> THE CODE
>
> [snipped as it's been mangled, was it posted in html and not plain text
> or what? I'm too lazy to unmangle it, others might be kinder]
>
Again, my bad. Here's the code in plain text:
''#--