0

I'm not sure if this is a duplicate.
The first, the last, and the rest
Given two numbers output the two numbers, and then the range between them:
Examples:
Input Output
0, 5 -> [0, 5, 1, 2, 3, 4]
-3, 8 -> [-3, 8, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7]
4, 4 -> [4, 4]
4, 5 ->