Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please give detailed explanations beside every code. 9. Super Hero Ultimate Cagematch In order to settle inumerable arguments among the comic book aficianados of the
Please give detailed explanations beside every code.
9. Super Hero Ultimate Cagematch In order to settle inumerable arguments among the comic book aficianados of the world, the people of earth have constructed an enormous arena for all the superheros to fight in. Four superheroes accepted the challenge: Batman, Spiderman, Superman, and Aquaman. However, due to the fact that each one of them only gets messages using a different messaging app, we don't know which superheroes will actually show up. In a fight between Batman and Spiderman, Batman wins because bats are bigger than spiders. If Superman shows up, he wins automatically. If Batman and Superman both show up, due to the power of extreme plot con- trivance, they immediately fight only with each other and end up with an ex- tremely unsatisfactory tie. This removes them from the competition. Aquaman only wins if nobody else shows up. If nobody shows up, nobody wins. Write a python function which, given a list containing all the superheros who show up at the arena, tells us who would be the winner. If there is no winner for a given combination of superheroes, return "NobodyStep 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