Commit 00f9a440 by BellCodeEditor

auto save

parent f0c715f8
Showing with 16 additions and 0 deletions
a={"Chinese":100,"maths":98,"English":99}
b={"Chinese":98,"maths":96,"English":94}
c={"Chinese":90,"maths":96,"English":98}
m={"Leo":a,"Smith":b,"Green":c}
while True:
print("查询请输入您的姓名,如需退出,请输入quit。")
name=input("What's your name?")
if name in m:
s=m[name]
for i,k in s.items():
print(i,k)
elif name=="quit":
break
else:
print("Please try again!")
\ No newline at end of file
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