Dương Mạnh Cường
New member
What will be the output of the following Python code?
A. [2, 2]
B. 2
C. 4
D. none of the mentioned
Code:
x = ['ab', 'cd']
print(len(map(list, x)))
B. 2
C. 4
D. none of the mentioned