Compsci 6, Fall 2011, Classwork 10

PRINT Names and NetID of students in group (min 2, max 3)
Name: __________________________   NetID: _____________

Name: __________________________   NetID: _____________

Name: __________________________   NetID: _____________

Problem 1:

This problem is related to the generateNewGroups.py code. def randomize(students): ''' Given a list of names, shuffle the names YOU CANNOT USE random.shuffle() '''

Problem 2:

This problem is related to the generateNewGroups.py code. def printGroups(students): ''' print the students 3 per group with Group number starting w/1 ''' count = 1 print "Group 1:" for stud in students: print stud #TODO: add code to print 3 per group count += 1

Problem 3:

This problem is related to the ProcessCrimeRates2.py code. def processFile(file): ''' process the lines in a .csv file, separator is ',' return the file as a list of lists ''' #TODO all = [] return all