正则表达式匹配 import re while True: try: sentence = list(input().strip()) a, b, c, d = 0, 0, 0, 0 for item in sentence: if re.match('[a-zA-Z]', item): a += 1 elif item == ' ': b += 1 elif re.match('[0-9]', item...