def parse_row(input_row, parsers):
 return [(parser(value) if (parser is not None) else value) for (value, parser) in zip(input_row, parsers)]

def parse_row ( input_row , parsers ) : return [ ( parser ( value ) if ( parser is not None ) else value ) for ( value , parser ) in zip ( input_row , parsers ) ]
given a list of parsers apply the appropriate one to each element of the input_row .