Ruby - Arrays
Which Ruby code correctly creates a new array containing only the odd numbers from the original array?
numbers = [10, 15, 20, 25, 30]
numbers = [10, 15, 20, 25, 30]
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions