Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In order to make the game fair, certain power - ups should not be available to players in certain positions. The power - ups team
In order to make the game fair, certain powerups should not be available to players in certain positions. The powerups team will handle the logic for which powerups are available to specific positions. Theyve asked you to write the function removefrompoolpowerups To accommodate for levelspecific powerups, the function should take a list of strings describing the powerups as an argument. It should then prompt the user for the name of a powerup to remove from that pool. Finally, it should print the pool without that item. Because different teams will be using this function and capitilazation hasnt been standardized, your function should be case insensitive.
Hint: Use helpstr or go to the Python documentation to read about helpful functions on strings that will let you deal with case sensitivity You may be especially interested in lower andor upper How could those help you make a case insensitive comparison?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started