i guess till now you know you are not suppose to post codes, share assignment which are graded on public posts.
in case you forgot, kindly check FAQ SECTION for CODE OF CONDUCT.
the mentor asked you to send the codes via personal DM.
Also check similar threads already created by learners, go through the whole thread to understand if you have done similar code errors which help you in debugging your codes
Kindly use search tool, there are already so many threads with same error which will help you resolve your issue. otherwise, the mentor who asked you to send codes will guide you further.
If still unable to get the resolution of your issue, kindly let us know.
Also it is humble request again not to post codes from grade cell, not share assignment notebook in future on post threads.