End Program Function Python Example