A university's Office of Admission keeps track of student majors. Each student can have a single major. Below is an example of how their system stores students, majors, and how it manipulates them:
students = [("Allen Anderson", "Computer Science"), ("Edgar Einstein", "Engineering"), ("Farrah Finn", "Fine Arts")] def add_new_student(students, name, major): students.append((name, major)) def update_student(students, index, name, major): students[index] = (name, major) def find_students_by_name(students, name): return [student for student in students if name in student] def get_all_majors(students): return [student for student in students]
What can be concluded from the code snippet above?
(Select all acceptable answers.)
students[len(students)] = (name, major)