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