str_1=“1234”str_2=“Abcd”str_3=“123Abdc”#用isdigit函数判断是否数字print(str_1.isdigit())Tureprint(str_2.isdigit())Falsepr...,CodeAntenna代码工具网.
確定! 回上一頁