plus one on every number in a nested liat code example
Example 1: python nested list
L = [[1, 2, 3],[4, 5, 6],[7, 8, 9]]
for list in L:
for number in list:
print(number, end=' ')
# Prints 1 2 3 4 5 6 7 8 9
Example 2: how to remove element from nested list in python
#removing elements from nested lists
list[element].pop(nested_element)