Question: Not sure what's wrong here. Please help Write a program that reads a character, then reads in a list of words. The output of the



Not sure what's wrong here. Please help
Write a program that reads a character, then reads in a list of words. The output of the program is every word in the list that contains the character at least once. Assume at least one word in the list will contain the given character. Ex: If the input is: z hello zoo sleep drizzle the output is: zoo, drizzle, Keep in mind that the character ' a ' is not equal to the character ' A '. For coding simplicity, follow each output word by a comma, even the last one. Do not end with newline. \begin{tabular}{l|l} LAB & 7.11.1: LAB: Contains the character \\ ACTIVITY & 7. \end{tabular} 0/10 main.py Load default template... 1:Compare output 0/3 Output is nearly correct, but whitespace differs. See highlights below. Input Your output Expected output 2:Compare output Output differs. See highlights below. Input Your output Expected output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
