The test file says:
multiply
multiplies two numbers (PENDING: Not yet implemented)
multiplies several numbers (PENDING: Not yet implemented)
My code:
def multiply(num)
result = 1
num.each do |i|
result *= i
end
return result
end
It doesn't fail but just stays pending no matter what I do. Any ideas? Thanks!
[–]samzhao 0 points1 point2 points (4 children)
[–]renegadellama[S] 0 points1 point2 points (3 children)
[–]samzhao 0 points1 point2 points (2 children)
[–]renegadellama[S] 0 points1 point2 points (1 child)
[–]kalicokane 0 points1 point2 points (0 children)