Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exercise7 error in grader.grade( ) #57

Closed
Zourunzhong opened this issue May 24, 2020 · 0 comments
Closed

exercise7 error in grader.grade( ) #57

Zourunzhong opened this issue May 24, 2020 · 0 comments

Comments

@Zourunzhong
Copy link

Zourunzhong commented May 24, 2020

grader[1] = findClosestCentroids
grader.grade()

in iter(self)
220 # Each part has different expected arguments/different function
221 if part_id == 1:
--> 222 res = 1 + func(self.X, self.C)
223 elif part_id == 2:
224 res = func(self.X, self.idx, 3)

TypeError: unsupported operand type(s) for +: 'int' and 'list'

@Zourunzhong Zourunzhong changed the title exercise7, all questions, error shown is for grader[1] = findClosestCentroids , grader.grade() exercise7 error in grader.grade( ) May 24, 2020
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

No branches or pull requests

1 participant