Using sum() to Calculate the Sum of a 2D Array

In reply to amy992:

You need to explain what “doesn’t work” means. When I run this, I get

# m is '{'{1, 1}, '{1, -1}}
# n_sum is          50