Move the last element of a list to the front in a single rotation.
Constraints
Example
>>> cycle_list_once([1,2,3,4]) [4,1,2,3] >>> cycle_list_once([5]) [5] >>> cycle_list_once([]) []
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints