Commit 9c5b877f by BellCodeEditor

save project

parent 464c8fe7
Showing with 8 additions and 6 deletions
score = {'语文':91,'数学':89,'英语':85} score = {'语文':91,'数学':89,'英语':85}
s=input() s=input('请输入您想查询的科目成绩:')
print('#'*30) if s in score:
for k,v in score.items(): print('*'*30)
print(k,v) #for k,v in score.items():
print('#'*30) #print(k,v)
\ No newline at end of file print(score[s])
print('*'*30)
\ 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