It's the usual trick of people asking a homework question, then as soon as it's answered, they delete it. For example:
How can you put 20 turtles on a circle in Python?
Visualize a sparse matrix using Python Turtle graphics
Turn left, right, accelerate or decelerate with Python turtle
Generate picture using object implementation of the turtle graphics
They can only do this if there's only one answer, and the only answer has no upvotes. Owners cannot delete their questions with multiple answers or upvoted answers.
If you are not permitted to post homework questions, then don't post them. For many educational institutions, obtaining this type of assistance amounts to academic misconduct. It's the student's responsibility not to outsource their homework. The fact that many questions are deleted so quickly leads one to think that the questioner already knows this.
Check with your teacher before asking homework questions on Stack Overflow
It's not okay to delete useful content off the site that others have put their time and effort into just to try to cover your tracks. As evidenced by the examples above, the posts will be restored. You've granted the network an irrevocable license to the content.
As noted in the Stack Exchange Terms of Service and in the footer of every page, all user contributions are licensed under Creative Commons Attribution-Share Alike. Proper attribution is required if you republish any Stack Exchange content.
Please read the terms of service and the full legal text of the license carefully for more details on how your content can be used.
This is something all users agree to before posting.
If you have changed your mind about a post, see: I've thought better of my question; can I delete it?