RosettaCodeData/Task/Loops-For-with-a-specified-step/Ruby/loops-for-with-a-specified-step-3.rb
Ingy döt Net 6f050a029e update
2013-06-05 21:47:54 +00:00

4 lines
74 B
Ruby

for n in (2..8).step(2)
print "#{n}, "
end
puts "who do we appreciate?"