Edit2: I realized the title of the thread was misleading after the post was made..it's more like There's 6 lines per student..I need to make a list for each student. So it's 6X..where X is the number of students.
Hi all..
I have a text file that looks like so:
Joe
Body
10429114
IT
30
90
Sue
Noone
12345678
ENG
45
103
I need to read in the objects in groups of 6 and create list. The catch is that the text file could have any specified number number of lines, as long as it is in increments of 6. The order of the data will always be in the some order.
For example: The output of that specific file should be something along the lines of:
[Joe, Body, 10429114, IT, 30, 90]
[Sue, Noone, 12345678, ENG, 45, 103]
Edit: Not looking for a full code..just guidelines.
Edit2: I realized the title of the thread was misleading after the post was made..