Title Rotating the List Values (Case 3)
Catalog Type SLCItem
Persistent ID https://pawscomp2.sis.pitt.edu/pcex/pcex_v2/index.html?lang=PYTHON&set=py_list_rotate&ch=py_list_rotate_right
Platform Name PCEX
Features
Description Construct a program that has a function that receives a list of values and returns the list rotated to the right by one position so that the value that is currently at the end of the list is moved to the front, shifting the remaining values to the right. For example, if the list is [1, 2, 3, 4, 5, 6], the program will change it to [6, 1, 2, 3, 4, 5].
Keywords list
Author Kamil Akhuseyinoglu
Institution University of Pittsburgh
Iframe URL https://pawscomp2.sis.pitt.edu/pcex/pcex_v2/index.html?lang=PYTHON&set=py_list_rotate&ch=py_list_rotate_right
Protocol PITT, HTML
Protocol URL
License MIT
Programming Language Python
Natural Language en

Preview