The median is the average of a set of data.
Read moreTable of Contents
Textbook Solutions for Python Programming: An Introduction to Computer Science
Question
Extend the program from the previous exercise to accept a file of censored words as another input. The words in the original file that appear in the censored words file are replaced by a string of 11 * 11 s with length equal to the number of characters in the censored word.
Solution
The first step in solving 11 problem number 33 trying to solve the problem we have to refer to the textbook question: Extend the program from the previous exercise to accept a file of censored words as another input. The words in the original file that appear in the censored words file are replaced by a string of 11 * 11 s with length equal to the number of characters in the censored word.
From the textbook chapter Data Collections you will find a few key concepts needed to solve this.
Visible to paid subscribers only
Step 3 of 7)Visible to paid subscribers only
full solution