Commit 6d269f15 by BellCodeEditor

save project

parent 6a87e8fd
Showing with 1 additions and 0 deletions
...@@ -7,6 +7,7 @@ f={'语文':100,'数学':78,'英语':75} ...@@ -7,6 +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")
name = input("请输入要查询的名字:") name = input("请输入要查询的名字:")
print("*"*30) print("*"*30)
if name in dict: if name in dict:
......
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