0

What is

X = 5 print (X>>2) Can anyone explain for me???

15th Apr 2022, 4:57 PM
Muhammad Samadi
Muhammad Samadi - avatar
2 Answers
0
Bit shifting, in this example code it is shifting the binary bits for 5 (0101) right 2 spots to make the binary 0001 aka 1. You can use the >> operator to write to files also
15th Apr 2022, 5:16 PM
P J