# \[SOLVED\]I don't understand the hunt begins

**URL:** https://discourse.codecombat.com/t/solved-i-dont-understand-the-hunt-begins/26957
**Category:** Level Help
**Created:** [January 23, 2021, 2:29pm UTC](https://discourse.codecombat.com/t/solved-i-dont-understand-the-hunt-begins/26957 "2021-01-23T14:29:39Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![QinWentian](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/qinwentian/32/17063_2.png) [@QinWentian](https://discourse.codecombat.com/u/QinWentian)
#### Post date: [January 23, 2021, 2:29pm UTC](https://discourse.codecombat.com/t/solved-i-dont-understand-the-hunt-begins/26957/1 "2021-01-23T14:29:39Z")

</div>

I don’t understand the hunt begins, its something I don’t understand, could you explain  
I does not matter, but here is my code

```python
def averageSize(burls):
    sum = sumSize(burls)
    # Remember the average is the sum of the parts divided by the amount!
    return sum / len(burls)

# This function should return the sum of all the burls sizes.
def sumSize(burls):
    # Implement the sum function using the burls 'size':
    ProbablyNeedAvariableOrSomething = 0
    pass

while True:
    # Find the average size of the burls by calling the 'averageSize' function.
    averageSize("burls")
    # Say the average size of the seen burls!
    hero.say(averageSize("burls"))

```

---

<div class="post-metadata">

### Author: ![Falcons118](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/falcons118/32/32017_2.png) [@Falcons118](https://discourse.codecombat.com/u/Falcons118)
#### Post date: [January 23, 2021, 2:34pm UTC](https://discourse.codecombat.com/t/solved-i-dont-understand-the-hunt-begins/26957/2 "2021-01-23T14:34:58Z")

</div>

@QinWentian for your while true loop you need to have

```python
burls= hero.findEnemies()

```

then use a variable to store your average size function like this  
`average= averageSize(burls)`  
then you should say the average

then for your sumsize function you should  
make a totalHealth variable  
use a for loop  
add the burls size to total health  
then return total health

---

<div class="post-metadata">

### Author: ![QinWentian](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/qinwentian/32/17063_2.png) [@QinWentian](https://discourse.codecombat.com/u/QinWentian)
#### Post date: [January 23, 2021, 2:43pm UTC](https://discourse.codecombat.com/t/solved-i-dont-understand-the-hunt-begins/26957/3 "2021-01-23T14:43:24Z")

</div>

Ok, I will give that a shot

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/2X/a/a9445509d1a758c41b5ddcddc8c8e20a5dedb67f.png) [@system](https://discourse.codecombat.com/u/system)
#### Post date: [January 24, 2021, 2:43am UTC](https://discourse.codecombat.com/t/solved-i-dont-understand-the-hunt-begins/26957/4 "2021-01-24T02:43:54Z")

</div>

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.
