Python Code Using Functions In Excel