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 readsa character, then reads in a list of words. The output ofthe program is every word in the list that contains the characterat least once. Assume at least one word in the list willNot 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!