题解 | #字符个数统计#
字符个数统计
http://www.nowcoder.com/practice/eb94f6a5b2ba49c6ac72d40b5ce95f50
a = input()
b = []
for i in a:
if ord(i)>=0 and ord(i)<=127 and i not in b:
b.append(i)
print(len(b))
字符个数统计
http://www.nowcoder.com/practice/eb94f6a5b2ba49c6ac72d40b5ce95f50
a = input()
b = []
for i in a:
if ord(i)>=0 and ord(i)<=127 and i not in b:
b.append(i)
print(len(b))
相关推荐
程序员牛肉:继续沉淀吧同学,你这就是纯纯的流水线产品。
差不多的学历+两个烂大街项目。自身学历又不行,现在找啥实习呢。有点太浮躁了。多花点心思搞搞ai,开源和八股。这比你这段时间捣鼓一段小厂实习要好得多;