Vidyalelo
Python · Q134

Python Lists MCQs: Exam Practice for List Concepts

Programming · Python · question 134

Q134

What will be the output of the following Python code? values = [[3, 4, 5, 1], [33, 6, 1, 2]] v = values[0][0] for lst in values: for element in lst: if v > element: v = element print(v)

A.
1
Answer
B.
3
C.
5
D.
6

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board