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