题解 | #字符个数统计#
字符个数统计
https://www.nowcoder.com/practice/eb94f6a5b2ba49c6ac72d40b5ce95f50
存
```while True:
try:
str= input().strip()
str = set(str)
for i in str:
count = 0
for i in str:
if 0 <= ord(i) <= 127:
count += 1
print(count)
except:
break
``` js
```print(
len(
[i for i in set(input().strip())if 0<=ord(i)<=127]
)
)