Commit 10c5fd6b by BellCodeEditor

save project

parent acd97c3d
Showing with 9 additions and 0 deletions
scores = {'语文':89, '数学':95, '英语':80}
def get_average(dict_1):
sum_i = 0
for subject, i in scores.items():
sum_i += i
print('复健科大健康防静电'+str(sum_i))
ave_score = sum_i/len(scores)
print('打卡机都是肯定就是'+str(ave_score))
get_average(scores)
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