#Author: James Tam #Version: October 31, 2025 (Boo!) #Learning objective (extra practice for 2D lists since there haven't been #a great deal of opportunity to do this with existing graded components). #*Writing code: Nesting loops and branches in conjunction with a 2D list. #*Filtering list elements according to a specified condition. aList = [[2,-2,2,-2], [1,-1,1,-1]] numRows = len(aList) numColumns = len(aList[0]) r = 0 total = 0 numPositive = 0 while(r0): total = total + aList[r][c] numPositive = numPositive + 1 c = c + 1 r = r + 1 r = 0 theAverage = total/numPositive print("Total of positive numbers:",total,"\tAverage of the posities:",theAverage)