Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

ruby for loop

for i in 0..2 do 
  print(i)
end

# => 0
# => 1
# => 2
 
PREVIOUS NEXT
Tagged: #ruby #loop
ADD COMMENT
Topic
Name
2+2 =