7-3 jmu-python-字符串-统计不同字符个数 (5分)
s=input()
character=space=number=other=0
for i in s:
if i.isalpha():
character+=1
elif i.isspace():
space+=1
elif i.isdigit():
number+=1
else:
other+=1
print(character,space,number,other)