I think you may have missed some information in the following description:
However, if your warrior is at least one rank lower than your enemy, and at least 5 levels lower, your warrior cannot fight against an enemy that strong and must instead return "You've been defeated".
if its 0, it will just return the number (0) just like if it was negative so theres no need to test for it
test For zero ?!
I think you may have missed some information in the following description:
However, if your warrior is at least one rank lower than your enemy, and at least 5 levels lower, your warrior cannot fight against an enemy that strong and must instead return
"You've been defeated"
.