using operators with lists lists can also rely on operators to perform cer tain tasks for exampleif you want to create list that contains four copies of the word helloyou could use mylist ["hello" to fill it list allows repetition as needed the multiplication operator (*tells python how many times to repeat given item it' essen tial to remember that every repeated ele ment is separateso what mylist contains is ['hello''hello''hello''hello'you can also use concatenation to fill list for exampleusing mylist ["hello"["world"["!" creates six elements in mylist the first element is hellofollowed by world and ending with four ele ments with one exclamation mark (!in each element the membership operator (inalso works with lists this uses straightforward and easy-to-understand method of searching lists (the recommended approachhoweveryou can use the membership operator to make things shorter and simpler by using "helloin mylist assuming that you have your list filled with ['hello''world''!''!''!''!']the output of this state ment is true type len(list and press enter you see that the output is list is definitely empty at this pointyou've tried all the modification methods that python provides for lists work with list some more using these various functions until you feel comfortable making changes to the list close the python shell window searching lists modifying list isn' very easy when you don' know what the list contains the ability to search list is essential if you want to make maintenance tasks easier the following steps help you create an application that demonstrates the ability to search list for specific values this example also appears with the downloadable source code as searchlist py open python file window you see an editor in which you can type the example code type the following code into the window -pressing enter after each line