1. What is the output of the following? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 3

1. What is the output of the following?

x = ['ab', 'cd'] print(len(list(map(list, x))))))

19th Feb 2018, 9:49 PM
Marydel Simyunn
Marydel Simyunn - avatar
4 Réponses
+ 4
2. also you have to many brackets
19th Feb 2018, 9:53 PM
Obbu
Obbu - avatar
+ 3
its [['ab'],['cd']] before it finds the length though
19th Feb 2018, 10:18 PM
Obbu
Obbu - avatar
+ 2
Answer is: 2 Here is the Solution: https://code.sololearn.com/c74R5lLD2Wf7/?ref=app
19th Feb 2018, 10:28 PM
📈SmileGoodHope📈
📈SmileGoodHope📈 - avatar
+ 1
definitely not abcd
19th Feb 2018, 10:16 PM
Dominique Abou Samah
Dominique Abou Samah - avatar