I don't know what the mistaken is 我不明白错在哪里,任务能完成


#1

loop:
enemy = self.findNearestEnemy()
if self.isReady(“cleave”):
self.cleave(enemy)
else :
self.shield()


#2

@cal you can format your code like this

```python
code goes here

An enemy may not always be defined. Before you attack/cleave an enemy, check if it exists with `if enemy:`