Module 1, exercise 1B- I am getting this error code - ‘Failed test case: There was no output for exercise 1b cell, check that you run it.
Grader expected: An output generated from print statements
You got: None’
I have cross checked the code with Chat GPT, reloaded the Kernel and updated the notebook, despite that it is showing the same issue.
Ans yes I ran the each line of the command every time I refreshed.
Any advice will be much appreciated.
Have you added, moved, or deleted any cells in the notebook?- NO
Have you downloaded the notebook and worked on it in some other platform, then uploaded it back to Coursera?- NO
Did you rename your notebook? - YES, Because was encountering an error which despite correcting the code was not going away. So followed the steps to troubleshoot and renamed the notebook.
Did you run all of the cells starting from the top, every time you open it for editing?- yes , everytime.
Do you recommend changing back the name to the original one will fix this bug ?
Apparently, in your implementation of exercise_1 b(), you have only one statement inside the function, that’s what the error says!
If you have modified the original notebook, then it’s best to delete the current file ( or save it under another file name) and go to the question mark on the top right corner and “Get the Latest Version,” which will give you a fresh, reset copy.
@Mubsi : I have submitted the Module 1 assignment. How much time will it take to grade. Please check your messages also on my query and confirm. Thank you.
I have received All Tests Passed after each task - Module 1 Assignment (C1M1 Assignment). But score is not reflected properly. Please DM for details and guide.
If you want to get a new copy of the assignment, you have to delete or rename your current notebook first. Use the File menu options.
Then use the “Lab Help” tool and “Get latest version”.
Then exit the lab and re-enter it.
The “Get latest version” tool will only replace a missing file, it will not overwrite an existing one. This is why you first need to rename or delete your original notebook file.