''' Purpose: implement problem triad.py ''' def unique( d ) : pass def counts( d ) : pass def cmp( d, e ) : pass if ( __name__ == '__main__' ) : import test3 try : test3.test_unique() except Exception as e : import sys line_number = sys.exc_info()[2].tb_lineno print( 'On line', line_number, e, 'occurred' ) try : test3.test_counts() except Exception as e : import sys line_number = sys.exc_info()[2].tb_lineno print( 'On line', line_number, e, 'occurred' ) try : test3.test_cmp() except Exception as e : import sys line_number = sys.exc_info()[2].tb_lineno print( 'On line', line_number, e, 'occurred' )