HSCS.121 Loop Tracing
0%
Skill Level🔴 Hard
00:00
Progress to Next Level25% to Medium
EasyMediumHardMastery100%

A classroom survey script totals positive ratings in a two-dimensional list. Use only rows for loop bodies that execute. In each row, the counter value is the value tested at the start of that iteration, the accumulator value is after that loop body finishes, condition is the start-of-iteration result, and output is what prints during that body. Pseudocode: ratings = [[3, 1, -1], [0, 2, 5]] student = 0 rating_total = 0 while student < len(ratings): question = 0 while question < len(ratings[student]): if ratings[student][question] > 0: rating_total = rating_total + ratings[student][question] print(rating_total) else: print('skip') question = question + 1 student = student + 1 Which trace table is correct? Trace-choice tuple order: (student, question, rating_total, condition, output); T=True and F=False.