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

Nam Lê

Member
What will be the output of the following Python code?
Code:
x = ['ab', 'cd']
print(len(list(map(list, x))))
A. 2
B. 4
C. error
D. none of the mentioned
 

Tìm kiếm

Back
Top