• One mistakes & One question

Question related to mission The Warriors



If I build local, then:

assert chuck.is_alive == True

passed this test, but when I run on the site I have:

AssertionError: <module>, 35

(it is row with "assert chuck.is_alive == True")


Why this asserts is will False (it is spelling in test)?

assert fight(carl, mark) == False

assert carl.is_alive == False

Why is carl dead?


carl = Knight()

with attack = 7

mark = Warrior()

with attack = 5