If your only question is to debug your code, it is off-topic.
If you did run it and can't explain why your code behaves strange at a particular line it might be on topic.
Check the How to ask and Minimal, Complete, and Verifiable example
If your only question is to debug your code, it is off-topic.
If you did run it and can't explain why your code behaves strange at a particular line it might be on topic.
Check the How to ask and Minimal, Complete, and Verifiable example