Create valid_number.py

quite easy one for python