Page 1 of 1

IN PYTHON! Examine the incomplete program below. Write code that can be placed below the comment (# Write your code here

Posted: Sat May 14, 2022 7:13 pm
by answerhappygod
IN PYTHON! Examine the incomplete program below. Write code that can be placed below the
comment (# Write your code here) to complete the program. Use loops to calculate
the sum and average of all scores stored in the 2-dimensional list: students so that
when the program executes, the following output is displayed. Do not change any
other part of the code
OUTPUT:
Sum of all scores = 132
Average score = 22.0
CODE:
students =
[11, 12, 13],
[31, 32, 33]
]
tot = 0
avg = 0
# Write your code here:
print('Sum of all scores =' tot)
print('Average score
=', avg)