3 ms·
Nice, haven't touched ruby in awhile but glad it's not just me. I was worried when I couldn't troubleshoot a simple multiply function: def multiply(a b) a*
by Jonlz 13y ago
Nice, haven't touched ruby in awhile but glad it's not just me. I was worried when I couldn't troubleshoot a simple multiply function:
def multiply(a b)
a*b
end
- gary4gar 13y agodef multiply(a, b) a*b end note the comma in params
- Jonlz 13y agoSorry wasn't clear in my post, that was the broken code I had to fix. I added the comma and got the unknown error message. However I just reloaded the page and it's showing a different code snippet and says 1 of 3 completed.