Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- l = [[1, 2, 3, 4],['a', 'b', 'c', 'd'], [5, 6, 7, 8] ]
- #del l[0][1]
- #print(l)
- i = 0
- j = 1
- while i < len(l):
- print(f"{l[i]}This is my {i}, and this is {l[i][0]} ")
- del l[i][0]
- print(f"{l[i]}This is my {i}, and this is {l[i][0]} ")
- i += 1
Advertisement
Add Comment
Please, Sign In to add comment