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
[162, 52, 10, 227, 254, 99, 240, 170, 47, 194, 149, 274, 196, 284, 116, 290, 291, 158, 266, 262]
Answer:
[262, 266, 158, 291, 290, 116, 284, 196, 274, 149, 194, 47, 170, 240, 99, 254, 227, 10, 52, 162]