Ruby - Functional Patterns in Ruby
Find the problem in this Ruby pure function:
def random_add(x) x + rand(1..10) end
def random_add(x) x + rand(1..10) end
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions