Check if pair exits
if ( prod % curr == 0 and ( prod // curr ) in s ) : NEW_LINE INDENT print ( curr , prod // curr ) NEW_LINE return True ; NEW_LINE DEDENT s . add ( p . data ) ; NEW_LINE p = p . next ; NEW_LINE return False NEW_LINE