字典测试题员:工信息查询
Posted 745728806-qq
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了字典测试题员:工信息查询相关的知识,希望对你有一定的参考价值。
keys = "林青霞":"age":20,"电话":18833333333,"职位":"老板","工资":250,
"张曼玉":"age":25,"电话":18111111111,"职位":"经理","工资":251,
"高圆圆":"age":21,"电话":19999999999,"职位":"销售","工资":252,
"刘亦菲":"age":22,"电话":18888888888,"职位":"总监","工资":253,
k = "-----------------查询系统-----------------"
n = "------------------结束-------------------"
count = 0
while count < 1:
print(k)
name = input("输入你的姓名:")
print(keys.get(name,"查无此人"))
name_1 = input("是否继续y/n")
if name_1 == "y":
count = 0
elif name_1 == "n":
print(n)
break
else:
print(n)
break
以上是关于字典测试题员:工信息查询的主要内容,如果未能解决你的问题,请参考以下文章
40+岁老测试员生涯回顾,Python自动化从业十年是种什么体验?
40+岁老测试员生涯回顾,Python自动化从业十年是种什么体验?
40+岁老测试员生涯回顾,Python自动化从业十年是种什么体验?