Need Code issue help

Could you please format your code in code block as you can see down below?

Paste your code here

Also, please state your traceback for the error as well. And, ask accordingly because right now, I can’t understand what you are trying to ask.

Edit: This should be a good starting point.