def work ( self , input_items , output_items ) :
    num_input_items = len ( input_items [ 0 ] )
    i = 0
    while i < num_input_items :
        self . sample_counter += 1
        if numpy . abs ( input_items 0 ] [ i ] - input_items [ 1 ] [ i ] ) > 0.01 :
            self . sample_error_counter += 1
        i += 1
    print ( "str" % (
        time . clock ( ) - self . timestart ,
        self . sample_counter ,
        self . sample_error_counter / float ( self . sample_counter ) ) )
    return num_input_items

def work ( self , input_items , output_items ) :
    num_input_items = len ( input_items [ 0 ] )
    i = 0
    while i < num_input_items :
        self . sample_counter += 1
        if numpy . abs ( input_items [ 0 ] [ i ] - input_items [ 1 ] [ i ] ) > 0.01 :
            self . sample_error_counter += 1
        i += 1
    print ( "str" % (
        time . clock ( ) - self . timestart ,
        self . sample_counter ,
        self . sample_error_counter / float ( self . sample_counter ) ) )
    return num_input_items

次に示すpythonコードの誤りを修正しなさい。