def averageSize(burls):

sum = sumSize(burls)

return sum / len(burls)

def sumSize(burls):

```
sum = 0
for i in range(len(burls)):
burl = burls[i]
sum += burl.size
return sum
```

loop:

burls = hero.findEnemies()

avgSize = averageSize(burls)

hero.say(avgSize)

can someone tell me why this doesn’t work.

Thanks