题解列表

筛选

[编程入门]字符串分类统计-题解(Python代码)

```pythona=input()#默认输入是strstr_count=0#定义变量int_count=0kongge=0other=0foriina:ifi.isalpha():#检测字符串是否只由字母组成。如果字符串至少有一个字符并且所有字符都是字母则返回True,