Course 1 week 2 exercise 5: name 'np' is not defined

This is one of the things covered on the DLS FAQ Thread, which is worth a look on general principles even though you have the answer to this specific question from Balaji.