Home / MCQ Bank / Computer
Computer Lists In Python

What will be the output of the following Python code? x=[[1],[2]] print(" ".join(list(map(str,x))))

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • [1] [2]

Related Computer Questions

There are n dice with f faces. The faces are numbered from 1 to f. What is the maximum possible sum that can be obtained when the n dice are rolled together? What is the use of make_heap in the heap operation? Consider the following code snippet var a1 = [,,,] ; var a2 = new Array ( 3 ) ; 0 in a1 0 in a2 The result would be What will be the output of the following C code? #include <stdio.h> void main() { int b = 5 & 4 & 6; printf("%d", b); } How do you ensure that a binary heap remains a valid heap after multiple insertions?