Do answers to questions that didn't come with attempts, and are just like "do my homework", deserving of a downvote?
Example :
Filtering out numbers that have sequential- consecutive or non-consecutive digits
In just 5 minutes after I posted my answer there I got 3 down votes without leaving any comments, so at first I thought it's because maybe I didn't include explanation of what does myy answer do while I was on my way to adding explanation but I'm quite slow since my native in not English.
after I finished editing, I only got one down-vote reverted bur still 2 was there and I really don't know how people voting down for what reason there except maybe it was inappropriate in their opinion to answer to the question which is asked for "do my homework".
if this is the reason of downvote to my answer or another answer there, then what is community saying for this kind of questions? do we really should not answer to these questions? if yes then more than half of Q&A in this site are just asked for "do my homework" and all we should downvote then?