for example list = [[1,2,3], [4,5,6,3], [3,7,8,9,10,11,12]] I would like to delete all occurrences of the number 3. The new list should be: [[1, 2], [4, 5, 6], [7, 8, 9, 10, 11,