Commit 7c4d91e3 by BellCodeEditor

save project

parent 43fde1b7
Showing with 8 additions and 4 deletions
score={'语文':91,'数学':88,'英语':85}
for i in score:
print(i)
\ No newline at end of file
score={'苹果':9,'梨':8,'香蕉':5}
i=input("你想要什么")
if i in score:
print(score[i]+"元")
else:
score[i]=10
print(score)
\ 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