Examveda

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

A. [1] [2]

B. [49] [50]

C. Syntax error

D. [[1]] [[2]]

Answer: Option A


This Question Belongs to Python Program >> Lists In Python

Join The Discussion

Related Questions on Lists in Python