strings = ["first", "", "second ", " "]
strings = [x.strip() for x in strings if x.strip()]๊ฒฐ๊ณผ : ["first", "second"]
๋ฐ์ํ
strings = ["first", "", "second ", " "]
strings = [x.strip() for x in strings if x.strip()]๊ฒฐ๊ณผ : ["first", "second"]