Arduino uses its own code which is a version of C++, but it is possible to run Arduino with Python too. For a step-by-step guide of running Python on Arduino, take a look here.