I came across this post where it was very clear the user is a beginner student doing an assignment (I assume to be graded). They were onto the solution, but were stuck.
I posted an answer that was intentionally vague that pointed the student to new leads to help think about the problem. Others posted full answers to the question, including demonstrating a Pythonic solution.
What are the ethical boundaries that should be displayed on stack overflow? Should we be giving solutions to students if they are almost there, or hints so they can learn for themselves?