โ Back to Loops
Question 113
map: Get Word Lengths
map: Get Word Lengths
Usemapto build an array of the length of each word, then print the lengths joined by", ". Expected output: 2, 5, 3
Expected Output:
2, 5, 3
Topics:
Loops
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (clog, fn, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.