summaryrefslogtreecommitdiff
path: root/progs/a226.py
blob: 1e929316ef23f669da3389b66c4ee82128c7bb2f (plain)
1
2
3
def sum_column(list1, C):
    result = sum(row[C] for row in list1)
    return result