Function to count numbers in the range [ l , r ] such that all of the digits of the number and it 's product with q are unequal
def countInRange ( l , r , q ) : NEW_LINE INDENT count = 0 NEW_LINE for i in range ( l , r + 1 , 1 ) : NEW_LINE DEDENT