code: def remove_blank_lines(string):
      
      return "\n".join(line
                       for line in string.split("\n")
                       if len(line.strip()))
docs: Removes all blank lines in @string
  
          -> #str without blank lines