# C1\_W3 Practice Lab 0% & Name Error

**URL:** <https://community.deeplearning.ai/t/c1-w3-practice-lab-0-name-error/647136>\
**Category:** Supervised ML: Regression and Classification\
**Tags:** how-to-forum\
**Created:** [June 14, 2024, 9:05am UTC](https://community.deeplearning.ai/t/c1-w3-practice-lab-0-name-error/647136 "2024-06-14T09:05:52Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![rmwkwok](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/rmwkwok/32/126977_2.png) [@rmwkwok](https://community.deeplearning.ai/u/rmwkwok)\
**Post date:** [June 24, 2024, 9:24am UTC](https://community.deeplearning.ai/t/c1-w3-practice-lab-0-name-error/647136/21 "2024-06-24T09:24:20Z")

</div>

If I remember it correctly, there should be a save button in the File menu. If so, try it and, on success, the last checkpoint date should be updated.

BTW, it is really worthwhile to take 5 minute and see if the problem exists with your mobile phone, too. Better getting hold of the situation may help.

Lastly, I recommend you to also contact Cousera, and see if they have other means. We can just share what we know, but maybe Cousera knows more.

[https://www.coursera.support/s/article/360036160591-How-to-contact-Coursera?language=en\_US](https://www.coursera.support/s/article/360036160591-How-to-contact-Coursera?language=en_US)

---

<div class="post-metadata">

**Author:** ![EYC](https://avatars.discourse-cdn.com/v4/letter/e/2acd7d/32.png) [@EYC](https://community.deeplearning.ai/u/EYC)\
**Post date:** [August 15, 2024, 6:50am UTC](https://community.deeplearning.ai/t/c1-w3-practice-lab-0-name-error/647136/22 "2024-08-15T06:50:58Z")

</div>

Hi,  
This message is to update the mentors who have generously given me advice, and possibly any other peers who might have been following this thread. I have finally solved the Practice Lab Name Error with the help of a good friend and passed.

The error message “Cell #11. Can’t compile the student’s code. Error: NameError(“name ‘x’ is not defined”)” was caused by a careless mistake in Exercise 1 where we’re supposed to define “g”. Only the capitalized “X” had been defined in the question, not the lowercase “x” - the Name Error.

What a lesson learned! I NEVER anticipated making a mistake so early in the practice lab. Yet, with this error, the grader was unable to proceed with grading the rest of my work, which resulted in a score of 0%.

I also learned how to debug. The Cell# provided in the grader’s remarks was not accurate, so I tried to find a pattern between relative cells to locate the cell by intentionally feeding mistakes to the grader. It was exhausting but amusing when I look back at it now…

Thanks for all the patience and assistance @DeepLearning.AI!  
EYC

[Previous page](https://community.deeplearning.ai/t/c1-w3-practice-lab-0-name-error/647136.md?page=1)
