Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
3-liner: splitted by new lines solution in Creative category for Non Empty Lines by Stensen
def non_empty_lines(text: str) -> int:
return 0 if not text else len(list(filter(None, map(lambda i: i.strip(),
__import__('re').split('\n', text)))))
Nov. 23, 2020