Hi im a new here , is there any way to get help with my homework?
Certainly you can get help here. But the following should be on your mind:
When learning to program, travelling is as important as the destination. Writing code is more important than having the “best solution”, so we will not write code for you.
Asking a question should come with a short example of what your problem is: A minimal, complete and verifiable example..
Make your question itself concise and easy answerable. We may love to program, but getting a lot of code with the question “Why is it not working?” is not answerable.