Examveda

What will be the output of the following Python code?
x = ['ab', 'cd']
print(list(map(list, x)))

A. ['a', 'b', 'c', 'd']

B. [['ab'], ['cd']]

C. [['a', 'b'], ['c', 'd']]

D. none of the mentioned

Answer: Option C


This Question Belongs to Python Program >> Functions In Python

Join The Discussion

Related Questions on Functions in Python