Using len() might be helpful.  Write a Python script that it…

Using len() might be helpful.  Write a Python script that iterates through the list and prints all elements following these conditions: If the list has fewer than 10 elements, print all elements on the same line, separated by a space. Otherwise, print the elements in reverse order, still on the same line, separated by a space.   Case 1. random_numbers = [5, -2, 8, 1] Output should be 5, -2, 8, 1.   Case 2.  random_numbers = [-37, 21, 27, -13, 55, 23, -73, 52, 41, -66, -22, -22, 6, 61, -41, 15] Output should be 15 -41 61 6 -22 -22 -66 41 52 -73 23 55 -13 27 21 -37