+ 3
What is the usage of >> in python?
x = 5 print(x>>2) Answer: 1 But how???
4 Respostas
+ 2
JUMP_LINK__&&__Python__&&__JUMP_LINK Lover learn more about bitwise operators here👇
https://www.geeksforgeeks.org/python-bitwise-operators/
+ 4
Thank you all....
+ 2
Jan Markus can you tell me in detail, please?
+ 2
In binary 5 is 101 so with shift right for two position it will be done for 1 .You have to understand binary count first to deal with shift left or right ..