End Code Function Python Example Programs