Question: Hello, I need help solving this Lab simulation, It uses Contains the character for String and Files statements and I am very new at python

Hello, I need help solving this Lab simulation, It uses Contains the character for String and Files statements and I am very new at python on so I need help solving it. It is very difficult. It is very confusing since the there are multiple inputs and can only code one input in the simulation.

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'.

''' your code here. '''

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 Programming Questions!