Q92
What will be the output of the following Python code? r = [11, 12, 13, 14, 15, 16, 17, 18, 19] A = [[0, 10, 20], [30, 40, 50], [60, 70, 80]] for row in A: for col in row: r.append(col+10) r
A.
[11, 12, 13, 14, 15, 16, 17, 18, 19, 10, 20, 30, 40, 50, 60, 70, 80, 90]
AnswerB.
[10, 20, 30, 40, 50, 60, 70, 80, 90]
C.
[11, 12, 13, 14, 15, 16, 17, 18, 19]
D.
[0, 10, 20, 30, 40, 50, 60, 70, 80]
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board