It could not work,what'ta wrong?

Here are two pictures which are my work by two languages–Python and Java script.
But they both counld not run.Why?

You should find the enemy before trying to attack.

Hover over the stop sign and the correct problem will show up.

Really?
20characters.

Thank you for your answer, but I found the correct answer–
The health of hero is too much.

Could you explain it? The health shouldn’t give an error.

Sorry, I could not explain that.

ok. 20characters20characters20characters.