Commit 9c5b877f by BellCodeEditor

save project

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