Cpp Using Enumerate Python 3 Mathematical Functions