Python is the perfect tool for the job.
Python has lots of modules easily available, a number of them used widely for maths because Python is a very simple language to learn, extremely logical, easy to read, so mathematicians turned to it rather than something more complicated.
C++ is unquestionably much faster for some type of data but when it comes to pure logic, using mostly integers and text, Python works quite well and AI is not specifically a field requiring high performance. Python is also more flexible when it comes to the size of data that is you do not really have to plan in advance and figure out what size your variable might reach.
Also, Python is also highly portable, does not need compilation, has a decent debugger.
There is a lot to explore in this field. People should learn AI and acquire skills because it has a bright future and it has the highest-paying jobs.
If you are a beginner go through this Artificial Intelligence Tutorial to know more about AI:
Also, if you want to learn AI from scratch you must go through this tutorial:
For getting a job as an AI engineer you should be a professional in AI and you need to have a certificate for proving it, so, you should go for AI Course to make your career rise to the next level.