*Why does this code syntax work for using .pop() *

```
all_students = ["Alex", "Briana", "Cheri", "Daniele", "Dora", "Minerva", "Alexa", "Obie", "Arius", "Loki"]
students_in_poetry = []
while len(students_in_poetry) < 6:
student = all_students.pop()
students_in_poetry.append(student)
print(students_in_poetry)
```

*BUT this one doesn’t??..*

```
all_students = ["Alex", "Briana", "Cheri", "Daniele", "Dora", "Minerva", "Alexa", "Obie", "Arius", "Loki"]
students_in_poetry = []
while len(students_in_poetry) < 6:
students_in_poetry = all_students.pop()
print(students_in_poetry)
```