A 2D Array is a list of lists. Imagine the pixels on your screen, represented in Python. The screen is a list of rows, and each row is a list of individual pixel values. Operating in two dimensions is ...
# For a given two-dimensional integer array/list of size (N x M), # find and print the sum of each of the row elements in a single line, separated by a single space.