Commit e96b4fc8 by BellCodeEditor

auto save

parent 58835576
Showing with 5 additions and 2 deletions
......@@ -2,5 +2,7 @@
# 于是写了下面的代码,可是总是得不到结果,请帮纠正bug并跑通程序。
scores = {'语文':89, '数学':95, '英语':80}
a=scores["语文"]+scores["数学"]+scores["英语"]
print(a/3)
sum=0
for i in scores.values():
sum=sum+i
print(sum)
\ 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