Ruby - Basics and Runtime
Find the bug in this Ruby code snippet:
numbers = [1, 2, 3] numbers.each do |n| n * 2 end puts numbers.inspect
numbers = [1, 2, 3] numbers.each do |n| n * 2 end puts numbers.inspect
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions