Part 1. Definition
In this task, you are given a list of integers in a random order. You need to return the same list of integers in the reverse order.
Part 2. Example
[139, 192, 48, 118, 158, 52, 41, 137, 172, 285, 57, 187, 269, 277, 13, 114, 250, 99, 210, 155]
Answer: [155, 210, 99, 250, 114, 13, 277, 269, 187, 57, 285, 172, 137, 41, 52, 158, 118, 48, 192, 139]
Explanation: The output list is reverse in order of the input.
Part 3. Exercise
[229, 29, 125, 153, 121, 112, 138, 271, 71, 145, 60, 246, 163, 223, 95, 97, 109, 10, 225, 47]
Answer:
[47, 225, 10, 109, 97, 95, 223, 163, 246, 60, 145, 71, 271, 138, 112, 121, 153, 125, 29, 229]