Python Function Return A Value In Excel