RosettaCodeData/Task/Loops-For-with-a-specified-step/Groovy/loops-for-with-a-specified-step-2.groovy
2023-07-01 13:44:08 -04:00

4 lines
75 B
Groovy

(2..9).step(2).each {
print "${it} "
}
println "Who do we appreciate?"