Solved valid-number.
此题对于python而言几乎是个bug