What does the >> operator do? For example, what does the following operation 10 >> 1 = 5 do?
>>
10 >> 1 = 5
See section 5.7 Shifting Operations in the Python Reference Manual.
They shift the first argument to the left or right by the number of bits given by the second argument.