Exercise: string to length
- Given a list of strings, create an iterable that will provide the length of each string.
- If the input is
['moon', venus', 'jupyter']
then the resulting iterable should return 4, 5, and 7.
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
['moon', venus', 'jupyter']
then the resulting iterable should return 4, 5, and 7.