Remove empty strings and None values from a list.
x (list[str]) – Input list, possibly containing None or empty strings.
None
x with None and empty-string elements removed.
x
list[str]