Problem with assignment I


I need some advice. The other day I was doing
the Programming Assignment I. By accident
I erased the cell containing the code for
exercise 1. I inserted a new cell and
use the code in the Hint. I was able to
complete all the exercises and my code
passed all the tests. However when I
submitted I got 0 points and the legend

Comment line with index: UNQ_C1 wasn’t found in code

I don’t know what to do.

Thanks for any help and/or advice.


Hello Jorge! Welcome to our community!

You need to add these two lines back (assuming you are talking about the assignment for k-means)

# UNQ_C1
# GRADED FUNCTION: find_closest_centroids

like the following:

Screenshot from 2022-08-01 21-02-10

If you are not talking about the k-mean assignment, just change the function name from find_closest_centroids to the right name and do the same.


It worked. Thank you!!!

1 Like

You are welcome Jorge. :slight_smile: