結果 : check if input is digit python