結果 : check if string has digits python