Vidyalelo
Python · Q117

Python Lists MCQs: Exam Practice for List Concepts

Programming · Python · question 117

Q117

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

A.
[1] [2]
Answer
B.
[49] [50]
C.
Syntax error
D.
[[1]] [[2]]

Answer: Option A

Solution

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