Derek Hutson9,740 Points
Weird question.. what am I doing wrong?
Hi all, I keep getting a syntax error and not sure why.. Thanks for help!
def three(3) end def five(5) end
Hey Derek. In this challenge you're being asked to return 5 and 3 respectively in your two functions. Right now you're passing in 5 and 3 as parameters to your functions. Instead of passing in the numbers as parameters, use the return keyword inside the body of your functions. Syntax example:
def ruby_func() return value end
I hope this clears things up!