Question: erminal Help o python Fundamentals Module _ 2 . 1 _ Practice _ Python _ Fundamentalsipynb Module 2 2 Required code Python Findomentalapyob ts Module
erminal Help
o python Fundamentals
ModulePracticePythonFundamentalsipynb
ModuleRequired code Python Findomentalapyob ts
ModuleRequiredCodePythonFundamentalsipynb
Code Markdown Run All Clear All Outputs Outline cdots
Select Kernel
Module Required Coding Activity
Introduction to Python Unit Fundamentals
Be sure to complete all tutorials and practice prior to attempting this activity.
Important Assignment Requirements
NOIE This program requires creating a function using def and return, using print output, input, iff, in keywords, cappend cpop oremove list methods. Be sure to include your full name in the prompts. See the example input below for more detail.
Program: listomatic
This program takes string input and checks if that string is in a list of strings
if string is in the list it removes the first instance from list
if string is not in the list the input gets appended to the list
if the string is empty then the last item is popped from the list
if the list becomes empty the program ends
if the user enters "quit" then the program ends
program has parts
program filow which can be modfied to ask for a specific type of item. This is the programmers choice. Add a list of fish, trees, books, movies, songs... your choice,
listomatic Function which takes arguments of a string and a list. The function modfies the list and returns a message as seen belove.
Start
listomatic
Cell of
@ F Tstom:
PM
r
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
