End Code Function Python Questions On Sets In Mathematics