Question: What is the output by the following code? [ begin{array}{l} text { def } text { main }(): text { values }=[[11,20,9],[13,17,50],[25,15,60] r_{text
What is the output by the following code? \[ \begin{array}{l} \text { def } \text { main }(): \\ \text { values }=[[11,20,9],[13,17,50],[25,15,60] \\ r_{\text {_ }} \text { sum }=[\theta] * 3 \end{array} \] for indx, row in enumerate(values): row_sum = sum (row) \( r_{\text {_sum }}[ \) indx] += row_sum print ( rsum[2]rsum[])rsum[1]) main()
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
