Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for Non Empty Lines by flatline
def non_empty_lines(text: str) -> int:
return sum(1 for line in text.splitlines() if line.strip())
Jan. 22, 2021