End Code Function Python Parameters