(1..10).each {|x| print x if x==3..x==5 }
(1..10).each {|x| print x if x==3...x>=3 } # Prints "34"
(1..10).each {|x| print x if x==3..x>=3 }