Here is my Ruby 3.2 code:
puts (1 and 0)puts (1 and 0 and 1)
It prints 0
and then 1
(I'm expecting 0
in both cases). Can someone explain, why?
Here is my Ruby 3.2 code:
puts (1 and 0)puts (1 and 0 and 1)
It prints 0
and then 1
(I'm expecting 0
in both cases). Can someone explain, why?