Hello, Please help with the following question. Thank you. Module 2… Hello,Please help with the following question.Thank you.Module 2 Required Coding ActivityIntroduction to Python (Unit 2) FundamentalsBe sure to complete all tutorials and practice prior to attempting this activity.Important Assignment RequirementsNOTE:This program requires creating a function usingdefandreturn, usingprintoutput,input,if,inkeywords,.append(),.pop(),.remove()list methods. As well as other standard PythonProgram: list-o-maticThis program takes string input and checks if that string is in a list of stringsif string is in the list it removes the first instance from listif string is not in the list the input gets appended to the listif the string is empty then the last item is popped from the listif thelist becomes emptythe program endsif the user enters “quit” then the program endsprogram has 2 partsprogram flowwhich can be modified to ask for a specific type of item. This is the programmers choice. Add a list of fish, trees, books, movies, songs…. your choice.list-o-maticFunction which takes arguments of a string and a list. The function modifies the list and returns a message as seen below.[ ]initialize a list with several strings at the beginning of the program flow and follow the flow chart and output examplesexample input/outputlook at all the animals [‘cat’, ‘goat’, ‘cat’]enter the name of an animal: horse1 instance of horse appended to listlook at all the animals [‘cat’, ‘goat’, ‘cat’, ‘horse’]enter the name of an animal: cat1 instance of cat removed from listlook at all the animals [‘goat’, ‘cat’, ‘horse’]enter the name of an animal: cat1 instance of cat removed from listlook at all the animals [‘goat’, ‘horse’]enter the name of an animal: (<-- entered empty string)horse popped from listlook at all the animals ['goat']enter the name of an animal: (<-- entered empty string)goat popped from listGoodbye!example 2look at all the animals ['cat', 'goat', 'cat']enter the name of an animal: QuitGoodbye!In[3]:# [] create list-o-matic# [] copy and paste in edX assignment page??Computer ScienceEngineering & TechnologyPython Programming HMI 7540
solved : Hello, Please help with the following question. Thank you. M
How it works
- Paste your instructions in the instructions box. You can also attach an instructions file
- Select the writer category, deadline, education level and review the instructionsÂ
- Make a payment for the order to be assigned to a writer
- Â Download the paper after the writer uploads itÂ
Will the writer plagiarize my essay?
You will get a plagiarism-free paper and you can get an originality report upon request.
Is this service safe?
All the personal information is confidential and we have 100% safe payment methods. We also guarantee good grades
LET THE PROFESSIONALS WRITE YOUR PAPER!