# - *安康;编码:,utf-8 - * - while 1: name=, raw_input (“Please input your 名字:”) if name ==,“zhangsan”: password =, raw_input (“Please input your 密码:”) while password  !=,“zhangsan”: password =, raw_input (“password 错误,Please input  your password :”) 其他: print “Login 成功。” print “welcome 用search address 清单。” while 1: match_yes =0 时间=search raw_input (“please input  name whom 你want 用搜索”。) 时间=contact_file 文件(“address_list.txt”) while 1:=,line contact_file.readline () if len(线),==0:打破 if search 拷贝: print ,“恭喜:\ n \ n % s的,%,线 match_yes =1 if match_yes ==, 0: print “对不起,not 发现” 其他: try  print “username 误差;一次。"<人力资源/>
查询的表:声明。电话号都是随便打的:
执行结果:
<人力资源/>