+ 2

how can Python execute this expression plzzz "print(4>>3)" ? what is the role of ">>"

question

17th Aug 2017, 5:38 PM
Abdelhadi Ziane
Abdelhadi Ziane - avatar
2 ответов
+ 2
>> is bit-shifting operator, 4 is shifted 3 bits do the right. 4 - number to be shifted >> - direction of shift 3 - number of bits More: https://stackoverflow.com/questions/3411749/JUMP_LINK__&&__python__&&__JUMP_LINK-operator
17th Aug 2017, 5:44 PM
Jakub Stasiak
Jakub Stasiak - avatar
+ 2
yes exactly thanks may friend
17th Aug 2017, 5:54 PM
Abdelhadi Ziane
Abdelhadi Ziane - avatar