When asking for help on creating a program (or any problem, for that matter), typically the best practice is to first work on your own implementation, demonstrate it, explain what you struggled with, and then ask for help. Directly asking for help/examples without the other steps can come across as trying to get others to do your work for you.
I’m not certain that we have a clearly defined policy on here for helping with homework problems, but I’d recommend checking out this StackOverflow question for effectively asking homework-related questions. Most of it applies fairly universally.
The majority of us are glad to help out where we can, but it’s a two-way street. (: