-->
当前位置:首页 > 题库

PROGRAMMING:Count the number of letters, numbers, spaces and other characters in the string

Luz5年前 (2021-05-10)题库443
Count the number of letters, numbers, spaces and other characters in the string.
###Input format:
Enter a string no more than 40 in length on one line.
###Output format:
Output "Zimu = x" in the first line“
Output "Shuzi = y" in the second line“
In the third line, output "Kongge = Z",
Output "Qita = m" in the fourth line
All results are output as is without column width control.
###Input example:
```in
sd$2h b57 sA
```
###Output example:
```out
zimu=6
shuzi=3
kongge=2
qita=1
```






answer:If there is no answer, please comment