题解 | #字符个数统计#
字符个数统计
https://www.nowcoder.com/practice/eb94f6a5b2ba49c6ac72d40b5ce95f50
# 自己做的
# s = input()
# d = {}
# for i in s:
# asc = ord(i)
# if asc <= 127 and asc >= 0:
# d[i] = 1
# print(len(d))
# 看别人答案想到
print(len(''.join(set(input()))))
字符个数统计
https://www.nowcoder.com/practice/eb94f6a5b2ba49c6ac72d40b5ce95f50
# 自己做的
# s = input()
# d = {}
# for i in s:
# asc = ord(i)
# if asc <= 127 and asc >= 0:
# d[i] = 1
# print(len(d))
# 看别人答案想到
print(len(''.join(set(input()))))
相关推荐
程序员牛肉:没啥必要了,3月末就开暑期实习了,你现在找还不一定能找到。看你啥学历了。
双非基本代表想进好公司无望了。211的话,现在继续沉淀,零日常实习参加暑期其实也压力不太大