I'm not a programmer but I've used chatgpt to dabbled in 3 languages ive never touched, all with great results. I'm not saying this is the way to learn, but it's a great way to experiment and learn what you like.