Бэквудский лес: убей и замри (22)

у меня проблема: выдает непонятную ошибку об отсутствии двоеточия после команды, хотя оно поставлено)

pretty sure it should be
почти уверен, что это должно быть

if canAttack == True
   hero.attack(enemy)

Hello and welcome to codecombat discourse! This is a cozy forum where you can share ideas, share fan art, get assistance for code, etc! Before you proceed, we hope that you review this topic, which shows all essentials of this board! Thanks!

Вы также можете просто написать это:

if canAttack:
    hero.attack(enemy)