Python is pretty old, so I had a quick look.

https://en.wikipedia.org/wiki/C%2B%2B#History

In 1985, the first edition of The C++ Programming Language was released, which became the definitive reference for the language, as there was not yet an official standard.[31] The first commercial implementation of C++ was released in October of the same year.[28]

In 1998, C++98 was released, standardizing the language, and a minor update (C++03) was released in 2003.

https://en.wikipedia.org/wiki/History_of_Python

The programming language Python was conceived in the late 1980s,[1] and its implementation was started in December 1989[2] by Guido van Rossum at CWI in the Netherlands as a successor to ABC capable of exception handling and interfacing with the Amoeba operating system.[3]

Python reached version 1.0 in January 1994.

Of course it's hard to say how much that is reflected in code available and is any of the old code still valid input for modern use. It does broadly look like c++ is older, in general.