While loops exercise

Hello.

In the While Loops exercise why the new list is populated starting from the last element of the initial students list and not from its beginning?

Thank you.

Consider how you’re obtaining these items. With the .pop() method of a list if no index is specified it removes and returns the last element of the list- 5. Data Structures — Python 3.9.1 documentation

1 Like

Thank you @tgrtim for your quick reply.