Absolutely. Thinknof AI as a very capable sidekick. Python is also an amazing lang to learn. Its easy to read and write, and it had a very large platforn support.
Most likely ypu'll end up learning multiple languages, when you want to go super-efficient on all verticals of any given project. But until then, if you just want to master python, I think it will serve you well in almost everything.