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

2 lines
62 B
Ruby

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