NameError: name 'costt' is not defined

Hello friends..
Can anyone gide me how to solve this issue in week 2 practice lab for machine learning course?
note: I think there is typo issue in the code and I should replacing ‘costt’ with ‘cost’ in the print statement but the cell Is protected and I cant change it!

1 Like

Thats the issue the name should be cost, what do you mean is protected, I can see its editable.

I mean I cannot edit that specific cell.
I think Coursera locks the cell to ensure thats it doesn’t accidentally change the instructions or break automated grading.

1 Like

Dear @khader0381,

Welcome to the Community!

Have you executed the previous cell?

Yes bro!

1 Like

Dear @khader0381,

Sounds good, Can you please your notebook through personal message. I’ll look into it and let you the problems and solutions.

Thanks,
Girijesh

Dear @khader0381,

Glad to hear your issue was resolved via my DM.
Please feel free to post any further questions or doubts here—I’m happy to help.