Removing items from a nested list Python,[[j for j in families[i] if i != j] for i in range(len(families))]