Sorry for the dumb question. I thought it would be different in Python but apparently not.
On Wednesday, April 30, 2014 11:31:27 AM UTC-7, Keno Fischer wrote: > > == has precedence over, so you are executing: > > 1,2 > (1,2) > (1,2)==(1,2) > (1,2==(1,2)) > ((1,2)==1,2) > (1, 2==1, 2) > > > > > On Wed, Apr 30, 2014 at 2:29 PM, Ted Fujimoto <[email protected]<javascript:> > > wrote: > >> julia> 1,2 >> (1,2) >> >> >> julia> (1,2) >> (1,2) >> >> >> julia> (1, 2) == (1, 2) >> true >> >> >> julia> 1, 2 == (1, 2) >> (1,false) >> >> >> julia> (1, 2) == 1, 2 >> (false,2) >> >> >> julia> 1, 2 == 1, 2 >> (1,false,2) >> >> Is this supposed to happen? If so, why? >> > >
