End Code Function Python Questions On Strings In C