Question: Code output similar to the sample_output using the same codes in pythonlab1 file.
Given 20 students, 10 of them are males, rest are females. We assign each of them an unique ID from 0 to 19. If the ID is an odd number, we determine that this is a male, otherwise is a female. We want first 10 students go to Northeastern, others go to Midwestern. Create a function named as "gender_geo( )" to show your outputs. Add your comments for each line of your code.
Attachment:- Assignment Files.rar