It's very appropriate, especially for a beginner.
LLMs only start to hallucinate when you give them complex problems. There are exceptions to that rule but with the kind of roadblocks that a beginner like
@chungus will be running to, a decent LLM will speed up his learning process by a lot. LLMs are excellent at explaining what an array is to you, or walking you through fizzbuzz etc, or helping you set up a dev environment. They're very, very unlikely to fail you there.
I also think of learning as an iterative process. One where you start off with a blurry, pixelated image and gradually increase the resolution i.e the scope and accuracy of your knowledge over time. So even if the LLM occasionally misleads him, which I would argue happens less than 1% of the time for a situation like this, as long as it helps him along much faster -- it is totally worth it.
Also, I use LLMs constantly to save hours of time. I use them to construct linux commands, write quick python scripts for me etc. So I'm advocating something that I also do.