Full threadcaptaincrowbar·You can do this in one line, without calling strip() twice: stripped_words = [w for w in [w.strip() for w in words] if w]View on HN