if both divisors are same then add it only once else add both
if i == ( num / i ) : NEW_LINE INDENT result += i NEW_LINE DEDENT else : NEW_LINE INDENT result += ( i + num / i ) NEW_LINE DEDENT return result NEW_LINE