Commit ca5bcebc by BellCodeEditor

save project

parent 94b2263f
Showing with 2 additions and 2 deletions
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
scores = {'语文':89, '数学':95, '英语':80} scores = {'语文':89, '数学':95, '英语':80}
def get_average(dict_1): def get_average(dict_1):
sun = 0 sum = 0
for subject, sum in scores.items(): for subject, score in scores.items():
sum+=score sum+=score
......
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