If you choose C++:
Although judging by best answer I can assume you’re using Python.
I don’t believe that Python is a good choice for AI because that will often involve voice recognition and going through massive amounts of information to find the best answer, and that requires speed. For right now, machine learning is a relatively new development, but it will grow incredibly quickly due to high demand, and computers won’t be fast enough in the future. To deal with this bottle neck, the logical solution would be a faster language. It doesn’t necessarily have to be C++, just has to not be as absurdly slow as Python.
Not to mention, Python is dynamically typed, which is good for learning because it is much simpler than statically typed languages, but it is also implicit instead of explicit, which is basically toxic to large projects. Data types are very important.
See https://en.m.wikipedia.org/wiki/List_of_programming_languages_for_artificial_intelligence for more information. Contrary to what the Python fan boys will tell you Python isn't the only game in town. There have been decades of research in AI before Python was even invented.