SyntaxFix
Write A Post
Hire A Developer
Questions
s = 'hi how are you' l = list(map(lambda x: x,s.split())) print(l)
Output: ['hi', 'how', 'are', 'you']
['hi', 'how', 'are', 'you']