Python Script Solved

15.00 $

Click Category Button to View Your Next Assignment | Homework

You'll get a download link with a: . zip solution files instantly, after Payment


Rate this product

Through your script, programmatically determine and output several different segments of data. As part of the exercise, we would like you to be able to use your script to load the passage of text with the use of the command line and then produce the requested data. When the text has successfully loaded, these five segments of data should be shown:

1. The number of individual words that are in the text (this means that the code is not counting duplicate words)
2. The number of words that have more than 5 letters
3. The number of words that have less than 5 letters
4. The amount of words that have an even amount of letters
5. The amount of words that have an odd amount of letter