I guess the author may have put something in the current_list before starting the loop ![]()
If the current_list is initially empty, then Enum.reverse(1..10) should be the shortest code.
I guess the author may have put something in the current_list before starting the loop ![]()
If the current_list is initially empty, then Enum.reverse(1..10) should be the shortest code.