I did the same thing and would get 0 credit for assignments or tests because I didn't "show my work". It made the 15 year old me furious and I basically swore math off after that.
This stuff makes me laugh looking back on it. Also teachers saying stuff like, "If you do all of your homework, no matter what you will get at least a B."
Pretty much high school was an obedience test. "Monkeys, if you do exactly what I tell you, when I tell you, I will rate you all 'Above Average'."
Me too, but it meant that I ended up learning how to fake showing-the-work after I knew what the answer was, which I think in turn taught me what they were trying to get across in the first place...