import re s = input('请输入一串字符:') char=re.findall(r'[a-zA-Z]',s)#以列表类型返回全部能匹配的子串 num=re.findall(r'[0-9]',s) ...
確定! 回上一頁