(1)从键盘输入一个字符串(串长不大于80). (2)以十进制输出字符串中非字母字符的个数(不是a to z或 A to Z). (3)输出原字符串且令非字母字符闪烁显示. (4)找出字符串中ASCII码值最大的字符,在字符串中用红色显示. (5)字符串的输入和结果的输出都要有必要的提示,且提示独占一行. (6)要使用到子程序. data segment hintinput db "please input a string:$" hintoutput1 db "The nu
python3判断字符串内是否含有字母,并打印字母出来 # !/usr/bin/python3.4 # -*- coding: utf-8 -*- import re a = "8a2656" b = "1514561A1321" c = "15465461654" d = "afgwgw" r = re.compile(r'^[a-zA-Z]') for item in d: result = r.match(item) i