def format_address_04(address): without_email = geocode.remove_email(address) without_department = geocode.remove_dept(without_email) if len(without_department) > 1: return ', '.join(without_department[1:len(without_department)]) else: return ''
def format_address_02(address): without_email = geocode.remove_email(address) without_department = geocode.remove_dept(without_email) result = (', '.join(without_department)) return result