Vidyalelo
Python · Q55

Functions in Python

Programming · Python · question 55

Q55

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

A.
['ab', 'cd']
B.
[2, 2]
Answer
C.
['2', '2']
D.
none of the mentioned

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board