Hi @agill407,
Please go through these common mistakes made by learners.
The “second point” applies to your situation here. The NameError: name test_your_code is not defined tells us that you have not ran the very first cell of the notebook which imports this for you.
And since you have been trying for a while, you might have made changes in your notebook which might not be easy to reverse, so I would recommend, once you have read the common mistakes, to start fresh on a blank notebook.
You can do that by opening the notebook and clicking on this option:

Best,
Mubsi