def remove_empty(list1): remove_empty = [x for x in list1 if x] return remove_empty