How should the following code be interpreted?
s = "";
my_arr = [1, 2, .....]
for i in range(len(my_arr)):
for j in range(len(my_arr)):
if (i & (1<<j)) != 0:
s += str(my_arr[j])
I cannot understand the following syntax:
if (i & (1<<j))!=0