RosettaCodeData/Task/Loops-For-with-a-specified-step/Ruby/loops-for-with-a-specified-step-3.rb
2023-07-01 13:44:08 -04:00

4 lines
74 B
Ruby

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