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.