输入一个包含了含有重复的人名的字符串,输出中字符串共有多少个人名输入:张三丰 王语嫣 阿紫 谢逊 杨过 王语嫣 王语嫣 谢逊
str=set(input().split(" ")) print(str) print('共有%d个人名'%len(str))