Super important point. Thanks for talking about this! I personally use it to learn most of the times, or solve when I don't want to learn about a particular bit or just want to see how it would look like, and it's been super helpful.
When i use LLMs to learn about a coding problem or a bug, i specifically prompt them to not offer me a straight up solution but to explain the process and a few whys that I have. It's a also a great help to find out about complex iterations when you are not able to do it yourself.