Python Basic Knowledge

[::-1]

When an object is indexable,we can use a[::-1],-1 means it will do operation from end to start. So [A:B:-1]

Bytewise Operation

>> 右移

<< 左移 相当于乘2n2^n

& , | ,