Skip to content

修改,增加任务8的代码”#19

Open
viviancc wants to merge 1 commit intozhangting85:masterfrom
VivianTestStudy:master
Open

修改,增加任务8的代码”#19
viviancc wants to merge 1 commit intozhangting85:masterfrom
VivianTestStudy:master

Conversation

@viviancc
Copy link
Copy Markdown

6.02 算分数,任务8
报错
Traceback (most recent call last):
File "D:\C职业发展\测试方向\python练习\091101.py", line 86, in
get_class_average(class_list)
File "D:\C职业发展\测试方向\python练习\091101.py", line 71, in get_class_average
results.append(get_average(i))
File "D:\C职业发展\测试方向\python练习\091101.py", line 41, in get_average
homework=student['homework']
TypeError: 'int' object is not subscriptable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant