Bitwise mask question


#1

Hi, why you write:
mask = (0b1 << n-1)


Slip and Slide - possible bug - keep getting "Int object is not callable" error
#2

What have you read, so far, leading up to this question?

Can you identify,

  1. 0b1
  2. <<
  3. mask

?


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.