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