+ 1

Can anyone help how to calculate average of 2d list in python

With python 3 code

28th Jul 2020, 11:53 AM
Akshay
Akshay - avatar
1 Answer
+ 2
Akshay import numpy as np l = [[1,2,3],[4,5,6],[7,8,9]] print(np.mean(l))
28th Jul 2020, 2:04 PM
David