9.8 - I don't know what's wrong


#1

My code is:
def greeting(name)
return "Hello, #{name}"
end

def by_three?(n)
if n % 3 == 0
puts true
else
puts false
end
end

When I try it, the site says "Oops, try again. Did you define your greeter method?"
What am I doing wrong?


#2

Note the function name indicated... greeter.

I believe the instructions ask us to return, not print.


#4

Wow, the site is picky! Anyway, thanks for the answer!