結果 : how to check if string contains only numbers python