Loops/For with a specified step
< Loops
Demonstrate a for loop where the step value is greater than one.
![Task](http://static.miraheze.org/rosettacodewiki/thumb/b/ba/Rcode-button-task-crushed.png/64px-Rcode-button-task-crushed.png)
You are encouraged to solve this task according to the task description, using any language you may know.
Ruby
<lang ruby>2.step(8,2) {|n| print "#{n}, "} puts "who do we appreciate?"</lang> Output
2, 4, 6, 8, who do we appreciate?