Generator Methods: send()

https://www.codecademy.com/courses/learn-intermediate-python-3/lessons/int-python-generators/exercises/generator-methods
for task 4, why the output would yield duplicate results when using send() method?

for i in range(1002, 1051):
    print(student_generator.send(i))

Consider what continue does and under what circumstances it would be called.