Write code to ask the user for a list and to rotate the items in the list by one position to the right. The last element of the list on input becomes the first element of the list printed. If the user gives [1, 2, 3, 4], then the script prints [4, 1, 2, 3]. You may not make assumptions on the length of the list, the script must work for all lists of all lengths.
  1. For a list of 4 elements, make a table with values for all variables in the loop,
    The table must have as many rows as there are stages in the loop.

  2. Write Python code for the script below: