Commit ab0add14 by BellCodeEditor

auto save

parent b7498cbe
Showing with 19 additions and 0 deletions
studen1={'语文':0,'数学':0,'英语':0}
studen2={'语文':0,'数学':0,'英语':0}
studen3={'语文':0,'数学':0,'英语':0}
scote={'悟空':studen1,'诺依':studen2,'小贝':studen3}
name = input("名字:")
print('*'*30)
if name in scote :
scote = scote[name]
for k,v in scote.items():
print(k,v)
print('*'*30)
else:
print("查询错误,请输入正确的名字")
print('*'*30)
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