Question: 
Write a python function to shift last element to first position in the given list.


Model's Code:
def move_first(lst):
    if lst:
        return [lst[-1]] + lst[:-1]
    return lst



Sample Correct Code:
def move_first(test_list):
  test_list = test_list[-1:] + test_list[:-1]  
  return test_list


Asserts:
assert move_first([1,2,3,4]) == [4,1,2,3]
assert move_first([0,1,2,3]) == [3,0,1,2]
assert move_first([9,8,7,1]) == [1,9,8,7]


Tests:
Test 1 of 3: PASS
Test 2 of 3: PASS
Test 3 of 3: PASS

Test 378 of 974: 273/378 (72.22222222222221%): success