Cognizant Interview Question

Why is c ++ not used in machine learning.. Why is python more used for that?