-->
当前位置:首页 > 题库

PROGRAMMING:Count the length of words

Luz5年前 (2021-05-10)题库403
This topic requires the preparation of procedures, input a line of characters, statistics of the length of each word. The so-called "word" refers to the continuous string without spaces. The words are separated by spaces, and the number of spaces can be multiple.
###Input format:
Enter to give a line of characters.
###Output format:
Output the length of each word on a line. There is a space after each number.
###Input example:
```in
How are you?
```
###Output example:
```out
3 3 4
```







answer:If there is no answer, please comment