if position is even
if position % 2 == 0 : NEW_LINE INDENT product *= n % 10 NEW_LINE DEDENT n = n / 10 NEW_LINE position += 1 NEW_LINE if product % k == 0 : NEW_LINE return True NEW_LINE return False NEW_LINE