• Mission army-battles, test in Check results


I would like to give some feedback about ...

From: https://py.checkio.org/mission/army-battles/solve/


Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0

One of the tests is the following and the expected result is true. Though army1 gets to strike first, how will it be possible for army1 to win with only 10 warriors? I am not sure how to approach this. Thanks.

army_1 = Army()

army_2 = Army()

army1.addunits(Warrior, 10)

army2.addunits(Warrior, 11)

battle = Battle()

battle.fight(army1, army2)