Hard
Sentence Statistics
Read a sentence. Print the number of words, the number of letters (ignore spaces and punctuation), the longest word (the first if tied, without punctuation) and the average word length with 2 decimals.
Input
One line.
Output
Four lines.
Sample 1
Input
I love Python!
Output
3 11 Python 3.67
Sample 2
Input
Hello, world.
Output
2 10 Hello 5.00
Output appears here