結果 : check if char is a digit python