If both divisors are same then add it only once else add both
if ( i == ( num // i ) ) : NEW_LINE INDENT if ( sigmaN - 2 * i == 2 * num ) : NEW_LINE INDENT return True NEW_LINE DEDENT DEDENT else : NEW_LINE INDENT if ( sigmaN - 2 * i == 2 * num ) : NEW_LINE INDENT return True NEW_LINE DEDENT if ( sigmaN - 2 * ( num // i ) == 2 * num ) : NEW_LINE INDENT return True NEW_LINE DEDENT DEDENT