Follow

The answer 

@RecursiveNeuron I'm gonna guess True, True, False

I think & binds more tightly than ==.

What I'm not entirely sure about is whether 1 & 2 is True or 2; probably the former.

Trying it out, I find out that 1 & 2 is in fact 0 -- because of course & is bitwise and when you give it ints.

So my initial guess of True, True, False was right, but (partially) for the wrong reasons.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.