End Code Function Python Example Questions Segment