Mega Code Archive
Categories
/
Ruby
/
Statement
Using the for Loop
for value in 1..10 puts "This is iteration " + value.to_s end