摘要: 输入一行字符,分别统计出其中英文字母、空格、数字和其它字符的个数。 python 2 代码 #!/usr/bin/python# -*- coding: UTF-8 -*- import strings = raw_input('input a string:\n')letters = 0space 阅读全文
posted @ 2017-08-03 10:47 沈晓桐 阅读(24988) 评论(1) 推荐(1) 编辑