def fix_line_ending(content):
 return content.replace('\r\n', '\n').replace('\r', '\n')

def fix_line_ending ( content ) : return content . replace ( '\r\n' , '\n' ) . replace ( '\r' , '\n' )
fix line ending of content by changing it to .