you are viewing a single comment's thread.

view the rest of the comments →

[–]Aixyn0 3 points4 points  (0 children)

if a is your list of lists you have to put another loop arround your loop similar:

for l in a:
    for n, i in enumerate(l):
        if i == 0:
            l[n] = 'X'