判別字串是否為數值字元. 總共有三個函數可以判斷字串內是否都屬於數值字元:string.isnumeric()、string.isdigit()、string.isdecimal(),差別主要 ...
確定! 回上一頁