Jumlah kolom dalam array 2d Python
col_totals = [sum(x) for x in zip(*my_list)]
Hurt Hawk
col_totals = [sum(x) for x in zip(*my_list)]
#create 2D array Matrix 4X4
Matrix = [[0 for i in range(4)] for j in range(4)]
#2D array python
x=[[11, 12,13],[14, 15,16],[17, 18,19]]
sum(sum(x,[]))