[SOLVED] Python Script

15.00 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

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

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.