I would like to give some feedback about ...
From: https://py.checkio.org/mission/army-battles/solve/
HTTP_USER_AGENT:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36
when I test my code in the test2
army1 = Army()
army2 = Army()
army1.addunits(Warrior, 1)
army2.addunits(Warrior, 2)
battle = Battle()
battle.fight(army1, army2)
KeyError: 'fight', , 25
It gave me a wrong result. Wish to fix it soon.
Created at: 2019/08/20 13:27; Updated at: 2019/09/14 09:07
The question is resolved.