Problem 145 Python - Reversible numbers

How many reversible numbers are there below one-billion?