Beginner at python here. I have been trying to figure out how to sum values from the same column but different rows. I've tried to search on how to do it but the thing is that I need only the value from a specific number of rows and not all of them.
List = [ [1,2,3,4],
[1,2,3,4],
[1,2,3,4],
[1,2,3,4],
[1,2,3,4] ]
For example, how do I sum the values in column 2 from only row 0-2 (so in total 3+3+3), but not in row 3 or 4? Very grateful for any assistance!