Q. What is the output of the given code?
for num in 1...5
puts num
end
for num in 1...5
puts num
end
β
Correct Answer: (B)
1 2 3 4
You must be Logged in to update hint/solution