User Portlet User Portlet

Discussions
If you look at Vitaliy's comments you will see that there are colours that highlight that your syntax is not correct. For examples your parenthesis don't match and you also missed a "&". Select[{{0, 0, 1, 0}, {0, 0, 0, 0}, {0, 1, 0, 1}, {1, 0,...
Something like this? In[1]:= Boole@BooleanTable[ Xor[ And[x1, x2], And[x3, x4] ], {x1, x2, x3, x4} ] Out[1]= {0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0}
The correct interpretation was SelectHamming[str_List,n_Integer]:=Select[str,Count[#,1]==n&] I am very grateful for your help, I didn't think of simply _counting_ the 1's, I was stuck trying to make it work with the HammingDistance since...