<prompt> Write a function that takes in a list of numbers and returns a list of the numbers in reverse order.  <response>: Here is a Python function that takes in a list of numbers and returns a list of the numbers in reverse order:pythondef reverse_listnumbers: Takes in a list of numbers and returns a list of the numbers in reverse order reversed_list numbers::-1 return reversed_listThis function uses the built-in ::-1 slicing on the input list to reverse its elements.An example of using this function:pythonnumbers 1, 2, 3, 4, 5reversed_list reverse_listnumbersprintreversed_listThis will output:5, 4, 3, 2, 1 