how to make the value shift in the list code example
Example: shift elements in list python
#Shifts all elements one to the right and moves end value to the start
li=li[-1:]+li[:-1]
#Shifts all elements one to the right and moves end value to the start
li=li[-1:]+li[:-1]