赞
踩
- n = input()
- try:
- ssn = []
- while True:
- sn = input().strip()
- if sn == '':
- break
- ssn.append(sn)
- print(ssn)
- except:
- pass
- s = set(ssn)
- print(len(s))
- a= ''.join(sorted(list(set(input()))))
- print(a)
- dict1 = {'赵小明': '13299887777', '特明朗': '814666888', '普希京': '522888666', '吴小京': '13999887777'}
- name = input()
- number = int(input())
- if dict1.get(name) == None:
- dict1[name] = number
- for key,value in dict1.items():
- print(f"{key}:{value}")
- else:
- print("您输入的姓名在通讯录中已存在")
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。