MLS -C1w3 assignment problem

Can not solve week 3 assignment problem please help me

You are not supposed to post solutions here. The error simply says np not found which means you havent defined,

import numpy as np

Or maybe you havent run that cell containing that line.

Also you should post at your specializations page.