strings = ["first", "", "second ", " "]
strings = [x.strip() for x in strings if x.strip()]

결과 : ["first", "second"] 

+ Recent posts