When reading the list () function, you can find such a warning in the notes section:
A warning
list () assigns values โโstarting with the rightmost parameter. If you use simple variables, you do not need to worry about that. But if you use arrays with indexes, you usually expect the order of indexes in the array to be the same as you wrote in list () from left to right; which is not. It is assigned in reverse order.
Can someone provide some sample code when the reverse order distribution happens?
source share