I learned python by finding something I wanted to make, then referencing the documentation to learn things I didn’t already know.
If I had trouble with finding it in the docs or understanding, I would just YouTube it/ duckduckgo it until I found a video that made sense.
I just did that over an over again and now about 30% of my day job is writing python.
I don’t mind AI for coding assistance. Sometimes I am writing a function and it suggests basically what I was going to write anyways, then I just have to hit tab and move to the next section. Sometimes I use it to add comment descriptions to my functions so I don’t have to type it manually. Sometimes I use it to spitball ideas.
I think the trick is to use it as a tool to make yourself better, not to do the work for you.