Easy
Lengths With gather()
Write
async def length(word) returning len(word). Read words and gather length() for every word; print the results on one line.Input
Words separated by spaces.
Output
One line.
Sample 1
Input
a bb ccc
Output
1 2 3
Sample 2
Input
Python
Output
6
Output appears here