[Solved] Javascript bitwise operator “>” to Python [closed]


There is no zero filled right shift operator >>> in python and we can not use short hand assignment operator in expressions (like c -= 8). So it can be written like this

(a >> (c - 8)) % 256
a = (a << 6) + f

5

solved Javascript bitwise operator “<<", ">>>” to Python [closed]