#ex-1b

l = [[2, 58, 9, 4, 6, 1, 2, 2, 1],[5, 6]]
n = [5, 6]
while n in l:
        x = [l.remove(i) for i in l if i == n]
print(l)

bcc085ba229ff4034acf96e92bed768171681cd3
<mask token>

<mask token>
while n in l:
    x = [l.remove(i) for i in l if i == n]
print(l)

l = [[2, 58, 9, 4, 6, 1, 2, 2, 1], [5, 6]]
n = [5, 6]
while n in l:
    x = [l.remove(i) for i in l if i == n]
print(l)

#ex-1b

l = [[2, 58, 9, 4, 6, 1, 2, 2, 1],[5, 6]]
n = [5, 6]
while n in l:
        x = [l.remove(i) for i in l if i == n]
print(l)
