Do answers to questions that didn't come with attempts, and are just like "do my homework", deserve a downvote?
In just 5 minutes after I posted my answer there I got 3 down votes without any comments, so at first I thought it was maybe because I didn't include an explanation of what my answer does while I was on my way to adding explanation but I'm quite slow since my native language is not English.
After I finished editing, I only got one down-vote reverted but still 2 were there and I really don't know why people voted down, except maybe it was inappropriate in their opinion to answer to the question which is asked as "do my homework".
If this is the reason of downvoting my answer or another answer there, then what is community saying for this kind of questions? Should we really not answer these questions? If yes then more than half of Q&A in this site are just asked for "do my homework" and we should downvote all then?