### Instruction: Find the number of ordered pairs of positive integers $(a,b)$ such that $a+b=1000$ and neither $a$ nor $b$ has a zero digit.
 Let's write a Python program.### Response: def has_zero(n):
    return '0' in str(n)

count = 0
for a in range(1, 1001):
    b = 1000 - a
    if not has_zero(a) and not has_zero(b):
        count += 1

print(count)