End Code Function Python Examples Demo