By the way, that code does *NOT* check to make sure the user has made *SOME* choice for both fighters.
Can you figure out how to check for that? And what to do about it?
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.