Fundamentals14 / 16
Up next

upto

sum = 0
# upto includes the final value
1.upto(5) { |i| sum += i }
puts sum
What you're solving

count inclusively toward a target