# your code goes here
#!/usr/bin/env python3
array = ['a', 'b', '-', 'a', 'b', 'c', '-', '','-','-']

def split_da_list(myarray, myseparator='', include=False):
	sep_list = []
	start = 0
	while True:
		try:
			end = myarray.index(myseparator, start) + include
			sep_list.append(myarray[start:end])
			start = end + (not include)
		except ValueError:
			break
	return sep_list
	
print (split_da_list(array, '-', include=True))
