Convert Python Code Into Excel