题目:Using the school names/courses file provided in the Input from Fileassignment write a program that creates a dictionary of an English class ofyour choice (code ENG) where student names are values and gender is a key.Your program should generate gender balanced groups: ask for the size ofthe group (i.e. 2, 4, 6) and produce group lists where number of males andfemales are equal.Make sure that there is no repletion of the same names in differentgroups. Hint (consider making a key a combination of gender and sequentialnumber in a class)
就是一个全校人的名字和课程的txt文件然后写一个程序搜寻课程号比如ICS3U101然后把所有人名字列然后分组,比如你要2人一组就一男一女,4人一组两男两女,6人一组三男三女,依此类推,剩下的人就放着
就是一个全校人的名字和课程的txt文件然后写一个程序搜寻课程号比如ICS3U101然后把所有人名字列然后分组,比如你要2人一组就一男一女,4人一组两男两女,6人一组三男三女,依此类推,剩下的人就放着