End Code Function Python Example Codes