End Code Function Python Examples Pdf