Shifts all the bits in the integer right one. This is effectively integer division by 2.
Shifts all the elements in the list right one. The rightmost element in the list is discarded and the leftmost one becomes
Shifts all the characters in the string right one. The rightmost character is dicarded, and the leftmost one becomes the space character (" ")
A second parameter can be added to determine how many shifts and in which direction they are made. The default is right one, or -1.
shift(var,0) will have no effect. 1 will shift left one. 2 will shift left two times. The list continues in both directions.
This will print true three times. Every statement here is true.