0
What will be the output of the following Python code
x = ['ab', 'cd'] print(len(list(map(list, x))))))
1 Answer
+ 3
2 because you are making a list inside another list using map and list I.e like multidimensional array . Which result in
[['a', 'b'], ['c', 'd']]
After that you are finding length ie 2



