Solved Using Python Create These Following Functions I Keep Having

Solved Using Python Create These Following Functions I Keep Having