Ruby

for [#de6ad41a]

 for num in 1..10
   puts num
 end

each [#yf054b3b]

 range = 1..10
 range.each { | num |
   puts num
 }