End Code Function Python Example Code Guilhem Figueira