Answer not accepted as correct


Screen Link:

My Code:

bool_t = admissions['predicted_label']==admissions['actual_label']
correct_predictions = admissions[bool_t]
accuracy = len(correct_predictions)/len(admissions)

What I expected to happen:
I would get the correct answer.

What actually happened:
The lesson said that my answer matched the correct one but I was not allowed to progress.

There was no error.
1 Like

I test your code on my side it is passing through. Please try again once.

1 Like