Assignment 11 — stringing lists
Due Monday, February 12
Program sless.py
- Converts user-supplied input into a list of words
- Prints the list user-supplied words
- Through accumulation, produces a new list whose elements are those of the user-supplied words with all
's'
's removed
- Print the s-less list
Two sample program runs
Enter text: susie sells seashells by the seashore
['susie', 'sells', 'seashells', 'by', 'the', 'seashore']
['uie', 'ell', 'eahell', 'by', 'the', 'eahore']
Enter text: sleepless in seatle
['sleepless', 'in', 'seatle']
['leeple', 'in', 'eatle']
Warning: fopen(/l/cs1112/public_html/defs/htm/181-trailer): Failed to open stream: No such file or directory in /l/cs1112/public_html/defs/php/read.php on line 5
Unable to open file!