If I have a list as follows:
lst = [[0,1,2,3,4,5], [6,7,8,9,10,11], [18,19,20,21,22,23], [24,25,26,27,28,29]]
I would like to multiply each value by a factor of 2 so the output is:
lst = [[0,2,4,6,8,10], [12,14,16,18,20,22], [36,38,40,42,44,46], [48,50,52,54,56,58]]
I preferably want to do this in a function by processing the data row by row and column by column.