Remove the newline character in a list read from a file,"grades.append(lists[i].rstrip('\n').split(','))"