Python Cube Root Function Formula