I can't fix this problem

{code removed. please comply with coursera honor code}

Hi @Nabil_Sherif , this looks like a MLS assignment. If so, please post your future MLS question in the MLS specialization. This error can happen when something is wrong in your previous line, and please check your brackets.

Cheers,
Raymond

PS: we can’t share assignment code here so I am removing it.