Hi I came across the following code
numdigits = len(cardNumber) oddeven = numdigits & 1
what exactly is going on here? I\'m not sure wh
& is a bitwise and, which is an efficient way to do bit-level calculations. It is taking numdigits and and-ing it with 1, bit-by-bit.
&
numdigits
1