D
duxieweb
Hello,
I run these in irb:
irb(main):001:0> queue=0
=> 0
irb(main):002:0> if !queue then print "The queue is empty." end
=> nil
why the result is nil?
I thought it should be printing "The queue is empty."
Thanks.
I run these in irb:
irb(main):001:0> queue=0
=> 0
irb(main):002:0> if !queue then print "The queue is empty." end
=> nil
why the result is nil?
I thought it should be printing "The queue is empty."
Thanks.