ord('a')
97
ord('A')
65
chr(97)
'a'
ord('b')
98
shift = 3 c = 'y'
chr((ord(c) - ord('a') + shift)%26 + ord('a') )
'b'
[1,2,3,4,5] rotate by 2 [4,5,1,2,3]