PROGRAMMING:JMU Python input output processing indefinite line input
Process a paragraph of text (there may be many lines, the number of lines is uncertain), output the number of words in each line (words separated by spaces or multiple spaces).
**Note: * ignore blank lines or blank lines when processing.
**Tips:**
Use the following code to handle indefinite line input
```
while True:
try:
your code
except:
break
```
###Input example:
```in
1 2
bcd efg hij
x
```
###Output example:
```out
two
three
one
```
answer:If there is no answer, please comment
**Note: * ignore blank lines or blank lines when processing.
**Tips:**
Use the following code to handle indefinite line input
```
while True:
try:
your code
except:
break
```
###Input example:
```in
1 2
bcd efg hij
x
```
###Output example:
```out
two
three
one
```
answer:If there is no answer, please comment