在接收raw_input方法后,判斷接收到的字符串是否為數字. 例如:. str = raw_input("please input the number:"). if str.isdigit():. 為True表示輸入的所有字符都是 ...
確定! 回上一頁