Python 中判斷輸入是否爲數字的實現代碼判斷接收到的字符串是否爲數字例如: test = input() while test.isdigit(): # do something 用的是系統自帶的String.i.
確定! 回上一頁