title: Remove empty string from list
body: <p>I just started Python classes and I'm really in need of some help. Please keep in mind that I'm new if you're answering this.</p>
  
  <p>I have to make a program that takes the average of all the elements in a certain list "l". That is a pretty easy function by itself; the problem is that the teacher wants us to remove any empty string present in the list before doing the average.</p>
  
  <p>So when I receive the list <code>[1,2,3,'',4]</code> I want the function to ignore the <code>''</code> for the average, and just take the average of the other 4/len(l). Can anyone help me with this? </p>
  
  <p>Maybe a cycle that keeps comparing a certain position from the list with the <code>''</code> and removes those from the list? I've tried that but it's not working.</p>