Python Function to Remove Empty Lines from a File

Created using The Python Code Generator.

Prompt

Result