Hi I came across the following code
numdigits = len(cardNumber) oddeven = numdigits & 1
what exactly is going on here? I\'m not sure wh
In addition, & is also used for taking the intersection of two Python sets:
&
set1 = {0,1,2,3} set2 = {2,3,4,5} print(set1 & set2) >>>set([2, 3])