{mentor edit: code removed and replaced with only the error message}
Please do not post your code on the forum. That’s not allowed by the community standards.
You have to run all of the cells in the notebook every time you start work. The ‘X’ variable is defined by the cell that calls the unit test.
You can post any errors or asserts - but do not include your code.
I have updated your message to remove the code.
1 Like
thank you so much. i was totally unaware of the fact that code is not allowed to be posted on community forums. and thanks for contributing