Below function checks whether product of digits at even places is divisible by sum of digits at odd places
def productSumDivisible ( n , size ) : NEW_LINE INDENT sum = 0 NEW_LINE product = 1 NEW_LINE while ( n > 0 ) : NEW_LINE DEDENT