Changing variables in a loop

I guess the author may have put something in the current_list before starting the loop :slight_smile:

If the current_list is initially empty, then Enum.reverse(1..10) should be the shortest code.