title: list iterating exception so the loop keeps going, geocode
body: <p>I have a list of place names and I want to iterate over it to get the coordinates:</p>
  
  <pre><code>import time
  from geopy.geocoders import Nominatim
  geolocator = Nominatim(user_agent="xxx")
  for a in pl:
      location = geolocator.geocode(a)
      print(location.latitude)
      time.sleep(2)
  </code></pre>
  
  <p>Now it works for the first few entries, then I get the following error:</p>
  
  <pre><code>AttributeError: 'NoneType' object has no attribute 'latitude'
  </code></pre>
  
  <p>I assume that that particular entry is not in a format that can be interpreted. How can I make my loop go on in those cases and just leave the entry black for these one, or just delete the entry outright.</p>