Hi! I understand that creating a loop, +=1 is used to raise the index by 1 until a certain condition is met.

But changing to another value, let’s say +=n, I would have expected that the action is repeated for every n.th value of the list.

Taking the given example of

https://www.codecademy.com/courses/learn-python-3/lessons/learn-python-loops/exercises/while?action=resume_content_item

all_students = [“Alex”, “Briana”, “Cheri”, “Daniele”, “Dora”, “Minerva”, “Alexa”, “Obie”, “Arius”, “Loki”]

students_in_poetry =

students = 0

while students < 6:

students_in_poetry.append(all_students.pop())

students +=1

print(students_in_poetry)

returns [‘Loki’, ‘Arius’, ‘Obie’, ‘Alexa’, ‘Minerva’, ‘Dora’]

Why does changing students +=1 to students +=7, for example, return [‘Loki’]?