# What will be the output of the following Python code points = [[1, 2], [3, 1.5], [0.5, 0.5]] points.sort() print(points)

1.  [[1, 2], [3, 1.5], [0.5, 0.5]]

2.  [[3, 1.5], [1, 2], [0.5, 0.5]]

3.  [[0.5, 0.5], [1, 2], [3, 1.5]]

4.  [[0.5, 0.5], [3, 1.5], [1, 2]]

4

[[0.5, 0.5], [1, 2], [3, 1.5]]

Explanation :
No Explanation available for this question

# What will be the output of the following Python code >>>m = [[x, x + 1, x + 2] for x in range(0, 3)]

1.  [[1, 2, 3], [4, 5, 6], [7, 8, 9]]

2.  [[0, 1, 2], [1, 2, 3], [2, 3, 4]]

3.  [1, 2, 3, 4, 5, 6, 7, 8, 9]

4.  [0, 1, 2, 1, 2, 3, 2, 3, 4]

4

[[0, 1, 2], [1, 2, 3], [2, 3, 4]]

Explanation :
No Explanation available for this question

# How many elements are in m m = [[x, y] for x in range(0, 4) for y in range(0, 4)]

1.  8

2.  12

3.  16

4.  32

4

16

Explanation :
No Explanation available for this question

# What will be the output of the following Python code values = [[3, 4, 5, 1], [33, 6, 1, 2]] v = values[0][0] for row in range(0, len(values)): for column in range(0, len(values[row])): if v < values[row][column]: v = values[row][column] print(v)

1.  3

2.  5

3.  6

4.  33

4

33

Explanation :
No Explanation available for this question

# 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)

1.  1

2.  3

3.  5

4.  6

4

1

Explanation :
No Explanation available for this question

# What will be the output of the following Python code values = [[3, 4, 5, 1 ], [33, 6, 1, 2]] for row in values: row.sort() for element in row: print(element, end = " ") print()

1.  The program prints two rows 3 4 5 1 followed by 33 6 1 2

2.  The program prints on row 3 4 5 1 33 6 1 2

3.  The program prints two rows 3 4 5 1 followed by 33 6 1 2

4.  The program prints two rows 1 3 4 5 followed by 1 2 6 33

4

The program prints two rows 1 3 4 5 followed by 1 2 6 33

Explanation :
No Explanation available for this question

# What will be the output of the following Python code matrix = [[1, 2, 3, 4], [4, 5, 6, 7], [8, 9, 10, 11], [12, 13, 14, 15]] for i in range(0, 4): print(matrix[i][1], end = " ")

1.  1 2 3 4

2.  4 5 6 7

3.  1 3 8 12

4.  2 5 9 13

4

2 5 9 13

Explanation :
No Explanation available for this question

# What will be the output of the following Python code def m(list): v = list[0] for e in list: if v < e: v = e return v values = [[3, 4, 5, 1], [33, 6, 1, 2]] for row in values: print(m(row), end = " ")

1.  3 33

2.  1 1

3.  5 6

4.  5 33

4

5 33

Explanation :
No Explanation available for this question

# What will be the output of the following Python code data = [[[1, 2], [3, 4]], [[5, 6], [7, 8]]] print(data[1][0][0])

1.  1

2.  2

3.  4

4.  5

4

5

Explanation :
No Explanation available for this question

1.  1

2.  2

3.  4

4.  5

4