Commit 6770fe2b by BellCodeEditor

save project

parent 51c95ed3
Showing with 2 additions and 2 deletions
...@@ -7,7 +7,7 @@ f={'语文':100,'数学':78,'英语':75} ...@@ -7,7 +7,7 @@ f={'语文':100,'数学':78,'英语':75}
g={'语文':89,'数学':100,'英语':100} g={'语文':89,'数学':100,'英语':100}
dict={'赵苹果':a,'李山竹':b,'张香蕉':c,'王荔枝':d,'谢葡萄':e,'刘桂圆':f,'曹蓝莓':g} dict={'赵苹果':a,'李山竹':b,'张香蕉':c,'王荔枝':d,'谢葡萄':e,'刘桂圆':f,'曹蓝莓':g}
while True: while True:
print("请输入要查询的名字,退出请输入q") print("请输入要查询的名字,退出请输入")
name = input("请输入要查询的名字:") name = input("请输入要查询的名字:")
print("*"*30) print("*"*30)
if name in dict: if name in dict:
...@@ -260,7 +260,7 @@ while True: ...@@ -260,7 +260,7 @@ while True:
#iw]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment