Question: 3. 2. List 'em out We will pass in a 2 dimensional list of numbers. You should add up all the numbers in each row

3. 2. List 'em out

We will pass in a 2 dimensional list of numbers.

You should add up all the numbers in each row and output that number output the grand total of all rows.

Check It!

LAST RUN on 11/26/2017, 7:45:38 PM

Program Output

Program Failed for Input: 1,1,-2 -1,-2,-3 1,1,1

Expected Output: 0 -6 3 -3

Your Program Output: 0 -6 3 Your output was incorrect. Try again.

------------------------------------------------------------

# Get our list from the command line arguments import sys numbers= sys.argv[1:]

# Convert the command line arguments into 2d list

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!