I am calculating the mean of a list and making it so that the function also excludes the zeros from the list (because division by zero is impossible).

I tried several things, here is my most successful but it calculates the sum instead.

I made a working function, but I have no idea how to exclude the zeros.

Here is what I tried:

```
list_value = [5, 3, 8, 0, 4, 5, 1, 0, 14, 10]

'''
test code
'''
mean_out = mean(list_value) 
print (mean_out) #---> Prints 55.0 

```

This is the function that works, but doesn't exclude the zeros from the list:

```
def mean(list_value):    
    sum = 0 
    mean_out = len(list_value)/sum
    return mean_out  

```

The question is: How do I exclude the zeros from this mean function **without** using list comprehensions?