def compact(lst): return list(filter(bool, lst))